Programming-Idioms

History of Idiom 183 > diff from v6 to v7

Edit summary for version 7 :
New Python implementation by user [awesmubarak]

Version 6

2019-09-26, 18:24:55

Version 7

2019-09-26, 19:06:19

Idiom #183 Make HTTP PUT request

Make a HTTP request with method PUT to URL u

Idiom #183 Make HTTP PUT request

Make a HTTP request with method PUT to URL u

Imports
requests
Code
r = requests.put(u)
status_code, content = r.status_code, r.content
Doc URL
https://pypi.org/project/requests/
Origin
https://stackoverflow.com/questions/111945/is-there-any-way-to-do-http-put-in-python
Demo URL
https://repl.it/repls/DizzyExaltedTests