Skip to content

Instantly share code, notes, and snippets.

@abeburnett
Created February 27, 2016 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abeburnett/421db16b7dffef814354 to your computer and use it in GitHub Desktop.
Save abeburnett/421db16b7dffef814354 to your computer and use it in GitHub Desktop.
How to post to Yhat and get data out
POST to http://10.0.0.108:8585/login with body username=USER&password=PASSWORD
get ResponseHeader['Set-Cookie']
Get http://10.0.0.108:8585/admin/predictions?yhat_id={yhat_id}
with Cookie:{Cookie} in header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment