restful-architecture

Proper way to consume data from RESTFUL API in django

Proper way to consume data from RESTFUL API in django Question: I’m trying to learn django so while I have a current solution I’m not sure if it follows best practices in django. I would like to display information from a web api on my website. Let’s say the api url is as follows: http://api.example.com/books?author=edwards&year=2009 …

Total answers: 4

Django POST URL error

Django POST URL error Question: I am trying to make a REST Api in Django by outputting Json. I am having problems if i make a POST request using curl in terminal. The error i get is You called this URL via POST, but the URL doesn’t end in a slash and you have APPEND_SLASH …

Total answers: 9