Navigation

Requests is an ISC Licensed HTTP library, written in Python, for human beings.

Most existing Python modules for sending HTTP requests are extremely verbose
and cumbersome. Python’s builtin urllib2 module provides most of
the HTTP capabilities you should need, but the api is thoroughly broken.
It requires an enormous amount of work (even method overrides) to perform
the simplest of tasks.

Requests allow you to send HEAD, GET, POST, PUT,
PATCH, and DELETE HTTP requests. You can add headers, form data,
multipart files, and parameters with simple Python dictionaries, and access the
response data in the same way. It’s powered by httplib and urllib3, and it strives to be as elegant and approachable as possible.