I'm new to APIs and played around with https://github.com/funkbit/django-dynamicresponse today. I get no errors, but it seems that I'm not able to call the API correctly.
I configured the URLs so that the view available under http://127.0.0.1:8000/api/ returns SerializeOrRender. But when I call the URL in the browser, I just get the HTML template rendered instead of a JSON response. The dynamicresponse doc says: "The framework provides two response classes; SerializeOrRender and SerializeOrRedirect. As the names imply, these response classes serialize the supplied context as JSON for API requests, and renders a template or redirects to a URL for normal requests." So it seems like typing the URL into the browser would be a "normal requst". How should an API request look like in comparison? 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.

