mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
orgs
This commit is contained in:
+4
-2
@@ -16,6 +16,8 @@ HTTP capabilities required, but the api is thoroughly **broken**. It reqires an
|
||||
*enormous* amount of work (even method overrides) to perform the simplest of
|
||||
tasks.
|
||||
|
||||
Things shouldn’t be this way. Not in Python.
|
||||
|
||||
Enter Requests. Requests allow you to send **GET**, **HEAD**, **PUT**,
|
||||
**POST**, and **DELETE** HTTP requests. You can add headers, form data,
|
||||
multipart files, and parameters with simple Python dictionaries, and access the
|
||||
@@ -26,8 +28,6 @@ all the hard work and crazy hacks for you.
|
||||
It's Simple
|
||||
-----------
|
||||
|
||||
How Simple?
|
||||
|
||||
::
|
||||
|
||||
>>> import requests
|
||||
@@ -41,6 +41,8 @@ See `the same code, without Requests <http://gist.github.com/some-gist>`_.
|
||||
Testimonals
|
||||
~~~~~~~~~~~
|
||||
|
||||
`Twitter, Inc <http://twitter.com>`_ and `The Library of Congress <http://www.loc.gov/>`_ use Requests internally.
|
||||
|
||||
**Daniel Greenfeld**
|
||||
Nuked a 1200 LOC spaghetti code library with 10 lines of code thanks to @kennethreitz's request library. Today has been AWESOME.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user