-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I'm trying to use the API from the just released V2.0 from the bash-command-line.
I'm able to get a access-token:
curl --location 'https://planka.mydomain.de/api/access-tokens' --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer <token>' --data-raw '{ "emailOrUsername": "demo", "password": "demo", "withHttpOnlyToken": true}'
which responds:
{"item":"longTokenStringfOXeAOUfw"}
Trying to use this token as described here:
https://documenter.getpostman.com/view/48263477/2sB3HqJebc#b9994d3d-496b-479f-af8a-ed47d6e60d49
curl --location 'https://planka.mydomain.de/api/projects' --header 'Accept: application/json' --header 'Authorization: Bearer longTokenStringfOXeAOUfw'
always returns:
{"code":"E_UNAUTHORIZED","message":"Access token is missing, invalid or expired"}
Am I doing something wrong?!