Mojimi
Mojimi

Reputation: 3151

Django built in request library?

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

Upvotes: 2

Views: 5214

Answers (2)

Paul Munyao
Paul Munyao

Reputation: 195

There is also a django library called django-request library which is found in this doc django request library

Upvotes: 2

Jan Giacomelli
Jan Giacomelli

Reputation: 1339

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.

Upvotes: 5

Related Questions