Skip to content

Instantly share code, notes, and snippets.

@yothinix
Last active March 1, 2018 09:58
Show Gist options
  • Save yothinix/8a4bafc9228f200d30b020cb14710964 to your computer and use it in GitHub Desktop.
Save yothinix/8a4bafc9228f200d30b020cb14710964 to your computer and use it in GitHub Desktop.
Type Annotation Python
import requests
def make_request(url, data, headers):
res = requests.post(url, data, headers=headers)
return res.status_code, res.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment