Last active
February 17, 2020 16:53
-
-
Save bgweber/cbde9cc10fe2585f32f5cdd39dfd687b to your computer and use it in GitHub Desktop.
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 | |
result = requests.post("http://localhost:5000", \ | |
json = { 'G1':'1', 'G2':'0', 'G3':'0', 'G4':'0', 'G5':'0', \ | |
'G6':'0', 'G7':'0', 'G8':'0', 'G9':'0', 'G10':'0'}) | |
print(result) | |
print(result.json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment