Philippe Hébert
02/23/2022, 9:19 PMPhilippe Hébert
02/23/2022, 9:38 PMPhilippe Hébert
02/28/2022, 9:44 PMhttps://{your-subdomain}.<http://on.gooddata.com/gdc/account/login|on.gooddata.com/gdc/account/login>
via your browser, and enter your credentials to login.
NB that Gray Pages seem to have the limitation that some page do not allow to use other HTTP verbs than GET.
If you need to use the API (and you most likely will), the following will do the job:
curl \
-X POST \
https://{your-subdomain}.<http://on.gooddata.com/gdc/account/login|on.gooddata.com/gdc/account/login> \
-H 'Content-Type: application/json' \
-d '{"postUserLogin": {"login": "<mailto:you@yourcompany.com|you@yourcompany.com>","password": "my-password","remember": "0","verify_level": 0}}' \
-v;
And following that you will have to keep the Set-Cookie headers and send them back with every following requests. For this reason it may be easier to use a higher level library that supports cookie sessions, like python requests
.