Found the answer while reading the piston documentation: curl -H "Accept: application/json" http://127.0.0.1:8000/api/"
The -H option allows to pass a custom header to the server. Best, Benjamin -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

