Last active
March 1, 2018 09:58
-
-
Save yothinix/8a4bafc9228f200d30b020cb14710964 to your computer and use it in GitHub Desktop.
Type Annotation Python
This file contains 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 | |
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