Open FredM67 opened 6 hours ago
I stumbled across this as well and I guess, I figured it out: I save the cookie from the login request by adding "-c ./cookie" as parameter. Now, the cookie data is saved to a file "cookie" and can be used with "-b ./cookie" in the next command.
When calling
curl -d "userId=xxx.yyy@live.fr&userPassword=zzzzzz" -H "Content-Type: application/x-www-form-urlencoded" -X POST https://ha101-1.overkiz.com/enduser-mobile-web/ enduserAPI/login
I receive:{"success":true,"roles":[{"name":"ENDUSER"}]}
There's no Cookie, how can I perform the second step ?