Answers for "how to send headers and a payload in python"

0

python send get request with headers

r=requests.get("http://www.example.com/", headers={"content-type":"text"})
Posted by: Guest on November-16-2020
0

python post request multi argument

requests.post(url, data=[('interests', 'football'), ('interests', 'basketball')])
Posted by: Guest on December-14-2020

Code answers related to "how to send headers and a payload in python"

Python Answers by Framework

Browse Popular Code Answers by Language