I'd like to expose in my django applicaction a POST service which can
receive JSON and XML
I'm able to POST JSON but if I try to POST XML I receive a "415
Unsupported content type"
Furthermore, I install the object-store expample. In the online demo
http://api.django-rest-framework.org/object-store/ the content type
combo appear "application/xml" but in my local installation disappear.
What's wrong? Do I miss any libraries?
Micheòe
That means: if you GET a "application/xml" from a complex python object with nested dictonary and
array, and then you POST the xml, you'll receive the same complex python object...
Do you think it's useful? If so, where I can send this code?