Skip to content
Myr

orgs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 84544b1 · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:docs/index.rst+4 added-2 removed
14 unmodified lines
15HTTP capabilities required, but the api is thoroughly **broken**. It reqires an16*enormous* amount of work (even method overrides) to perform the simplest of17tasks.1819Things shouldn’t be this way. Not in Python.2021Enter Requests. Requests allow you to send **GET**, **HEAD**, **PUT**,22**POST**, and **DELETE** HTTP requests. You can add headers, form data,23multipart files, and parameters with simple Python dictionaries, and access the24response data in the same way. It's powered by :py:class:`urllib2`, but it does
2 unmodified lines
2728It's Simple29-----------3029How Simple?3031::3233 >>> import requests34 >>> r = requests.get('https://convore.com/api', auth=('username', 'password'))
5 unmodified lines
4041Testimonals42~~~~~~~~~~~4344`Twitter, Inc <http://twitter.com>`_ and `The Library of Congress <http://www.loc.gov/>`_ use Requests internally.4546**Daniel Greenfeld**47 Nuked a 1200 LOC spaghetti code library with 10 lines of code thanks to @kennethreitz's request library. Today has been AWESOME.4849**Kenny Meyers**
45 unmodified lines