Created
April 28, 2021 13:34
-
-
Save Lauwny/c9e9cf116806b7a686d3c8675e241b60 to your computer and use it in GitHub Desktop.
lol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = "http://217.64.58.136:5001/seg" | |
payload={'foo': 'baz', | |
'toto': 'tata'} | |
files=[ | |
] | |
headers = {} | |
response = requests.request("POST", url, headers=headers, data=payload, files=files) | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment