Issue
I know untill a couple years ago Django did not have one, as there are several questions here regarding this topic but they are all atleast two years old
How to send a POST request using django?
They mostly recommend to use python-request or urllib
My question is, does Django contains this by default now? A module to make POST/GET requests to another server, or is there still need to install external libs?
This is mostly to avoid bypassing cross domain policies in using APIs
Solution
Django has no built in library for making HTTP requests.
Most used python library for HTTP requests is requests
which you found here. It is simple to use, works well with Django. Here are docs.
Answered By - Jan Giacomelli
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.