Skip to content

Instantly share code, notes, and snippets.

@bgweber
Last active February 17, 2020 16:53
Show Gist options
  • Save bgweber/cbde9cc10fe2585f32f5cdd39dfd687b to your computer and use it in GitHub Desktop.
Save bgweber/cbde9cc10fe2585f32f5cdd39dfd687b to your computer and use it in GitHub Desktop.
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