When I do a PUT request in RESTClient it works, but it fails in the Postman Chrome extension.
I need to call the Hadoop REST API. When I use curl
all is okay, as with RESTClient. It fails when I use Python httplib
, as with Postman.
Here is it working in RESTClient:
Here is it failing in Postman:
It returns a java.lang.UnsupportedOperationException
with the message op=NULL is not supported
.
How can I send this PUT request correctly with Python's httplib
? For some reason curl
is not suitable here.