Created
February 27, 2016 00:45
-
-
Save abeburnett/421db16b7dffef814354 to your computer and use it in GitHub Desktop.
How to post to Yhat and get data out
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
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