Skip to content

Instantly share code, notes, and snippets.

@Lauwny
Created April 28, 2021 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lauwny/c9e9cf116806b7a686d3c8675e241b60 to your computer and use it in GitHub Desktop.
Save Lauwny/c9e9cf116806b7a686d3c8675e241b60 to your computer and use it in GitHub Desktop.
lol
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