Auth - Login
/auth/login/{username}/{password}
Possible Methods
GET
Arguments
username (required)
the email address of the user that wants to login
password (required)
password required to login, encrypted with SHA-256 (base 64) and URL-encoded
Json Object
n/a
Â
Example
curl -c cookies.txt -X GET "http://localhost:8185/auth/login/sterling_archer@ikanow.com/8675301" > response.txt
Â
Example Response
curl -c cookies.txt -X GET "http://localhost:8185/auth/login/sterling_archer@ikanow.com/8675301" > response.txt
{ "response": { "action": "Login", "success": true, "time": 0 }, "data": { "cookie": "5357f2ebb8e0ff6e90202799" } }
Note: Also will return a header: "inf_token":"5357f2ebb8e0ff6e90202799"