diff --git a/AUTHORS.rst b/AUTHORS.rst index a765a19c..b0594a6b 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -160,3 +160,4 @@ Patches and Suggestions - Paul van der Linden (`@pvanderlinden `_) - Colin Dickson (`@colindickson `_) - Smiley Barry (`@smiley `_) +- Shagun Sodhani (`@shagunsodhani `_) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index d08561d2..096693fb 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -37,12 +37,12 @@ get all the information we need from this object. Requests' simple API means that all forms of HTTP request are as obvious. For example, this is how you make an HTTP POST request:: - >>> r = requests.post("http://httpbin.org/post") + >>> r = requests.post("http://httpbin.org/post", data = {"key":"value"}) Nice, right? What about the other HTTP request types: PUT, DELETE, HEAD and OPTIONS? These are all just as simple:: - >>> r = requests.put("http://httpbin.org/put") + >>> r = requests.put("http://httpbin.org/put", data = {"key":"value"}) >>> r = requests.delete("http://httpbin.org/delete") >>> r = requests.head("http://httpbin.org/get") >>> r = requests.options("http://httpbin.org/get")