Reading the
[page](http://www.django-rest-framework.org/api-guide/content-negotiation/)
There are three variants of format selection:
curl -uadmin:admin
"http://localhost:8080/alfresco/service/hellouser.json"
curl -uadmin:admin
"http://localhost:8080/alfresco/service/hellouser?format=json"
curl -uadmin:admin -H "Accept: text/html"
"http://localhost:8080/alfresco/service/hellouser"
What format would be selected for next query:
curl -uadmin:admin -H "Accept: text/html"
"http://localhost:8080/alfresco/service/hellouser.xml?format=json"
I expect 'json' here, but may someone confirm this by supplying links to
relevant specifications or documentation?
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.