Alessandro
0
Q:

how to send a post request


    import requests

url = 'https://www.w3schools.com/python/demopage.php'

    myobj = {'somekey': 'somevalue'}

x = requests.post(url, data = myobj)

    
print(x.text)
 
0

New to Communities?

Join the community