You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to interact with some drupal api that returns a 301 for puts. I'm not able to tell do slumber to rePOST on second api hit is there a way ?
Thank you, ciao
PUT /api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982/ HTTP/1.1
Host: [redacted]
User-Agent: python-requests/2.9.1
{"name": "cane"}
HTTP/1.1 301 Moved Permanently
Location: http://[redacted]/api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982
PUT /api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982 HTTP/1.1
Host: [redacted]
User-Agent: python-requests/2.9.1
HTTP/1.1 200 OK
The text was updated successfully, but these errors were encountered:
Do you have a simple way to strip the final "/" at the end of the URL ?
I've just had the same problem, with 405 in return (the POST method is mandatory, but not replicated on redirection)
Hi, I'm trying to interact with some drupal api that returns a 301 for puts. I'm not able to tell do slumber to rePOST on second api hit is there a way ?
Thank you, ciao
The text was updated successfully, but these errors were encountered: