Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save evsapi/2697409 to your computer and use it in GitHub Desktop.
Save evsapi/2697409 to your computer and use it in GitHub Desktop.
import urllib, urllib2
url = '<SERVER LOCATION>/evs/validatePvtKey'
params = urllib.urlencode({
'uid': <USER ID>,
'pwd': <USER PASSWORD>,
'pvtkey': <USER PRIVATE KEY>
})
result = urllib.urlopen(url, params).read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment