Created
August 31, 2017 03:35
-
-
Save sithu/62ef886bf23cf02b28280b194d7161d6 to your computer and use it in GitHub Desktop.
Quizz 2 Baseline
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 | |
def http_call_sync(): | |
r = requests.get('https://httpbin.org/status/200') | |
print(r.status_code) | |
r = requests.get('https://httpbin.org/status/204') | |
print(r.status_code) | |
def http_call_async(): | |
""" | |
TODO | |
""" | |
http_call_sync() | |
http_call_async() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment