×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import requests url = 'https://w3schools.com/python/demopage.php' myobj = {'somekey': 'somevalue'} #allow the response to be streamed by setting the 'stream' parameter to True: x = requests.post(url, data = myobj, stream=True) print(x.status_code)
200