Answer the question
In order to leave comments, you need to log in
How to interact with an API that is built on Django Rest Framework?
Good day, can anyone tell me how to interact with an API that is built using the Django Rest Framework? I wrote a model in django, set 2 fields for it, made an API according to the documentation, go to the tab 127.0.0.1:/8000/api/ I see a window that displays all the data in JSON format, I can send GET, POST, PUT in the web interface , DELETE requests, and how to do it with angular 1.5? I try using Python 3 and the requests library, nothing comes out, I get GET calmly, but with POST and the rest nothing, maybe someone knows how everything is arranged there? thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question