From b675377dc2a0b5552877dce523d375fc4cb17b76 Mon Sep 17 00:00:00 2001 From: shagun Sodhani Date: Fri, 16 Oct 2015 17:01:36 +0530 Subject: added fix for #2826 --- docs/user/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/user') 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") -- cgit v1.2.1