Created
May 30, 2018 05:22
-
-
Save smarek/da72f9db6edc32bc485dc832265e2034 to your computer and use it in GitHub Desktop.
WebVisu get single property
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
#!/usr/bin/python | |
import requests #you might need to install requests separatelly | |
import sys | |
req = "|0|1|0|" + str(sys.argv[2]).replace(",","|") | |
addr = "http://" + str(sys.argv[1]) | |
print req | |
r = requests.post(addr + '/webvisu/webvisu.htm', data=req) | |
print r.text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment