Skip to content
Advertisement

how to post xml in python

i am trying to post string as xml, here is the code:

JavaScript

response from server:

JavaScript

i also tried code like this:

JavaScript

response from server:

JavaScript

Advertisement

Answer

HTTP 415 is Unsupported Media Type – this suggest your request is missing or has incorrect Content-Type header. Try:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement