Skip to content
Myr

Formatting (#5910)

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

authored by Борис Верховский · committed by GitHub · parent 2d30aeb · Browse files · 1 file+2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/user/quickstart.rst+2 added-2 removed
35 unmodified lines
3637Requests' simple API means that all forms of HTTP request are as obvious. For38example, this is how you make an HTTP POST request::3940 >>> r = requests.post('https://httpbin.org/post', data = {'key':'value'})40 >>> r = requests.post('https://httpbin.org/post', data={'key': 'value'})4142Nice, right? What about the other HTTP request types: PUT, DELETE, HEAD and43OPTIONS? These are all just as simple::4445 >>> r = requests.put('https://httpbin.org/put', data = {'key':'value'})45 >>> r = requests.put('https://httpbin.org/put', data={'key': 'value'})46 >>> r = requests.delete('https://httpbin.org/delete')47 >>> r = requests.head('https://httpbin.org/get')48 >>> r = requests.options('https://httpbin.org/get')49
520 unmodified lines