Getting 401 unauthorized error in web rest API creating new case
I'm having a similar issue as the one described in this question:
I'm trying to instantiate a testing process, on ACME organization with the user walter.bates. I can do it using the portal UI, but through the API REST I'm getting 401 unauthorized error.
Thanks in advance,
Which tool are you using the execute the REST call? You have to make sure that the correct headers and cookies are passed along the call.
Hi Lionel, and thank you for answering.
I'm using Postman, as I've seen in some tutorials over the internet.
At first I'm calling loginservice and then the endpoint I want to test.
In cookies there are three of them, JSESSIONID, bonita.tenant and X-Bonita-API-Token.
¿Is there something I'm missing?
Other endpoints, like identity/user and bpm/case/case# are working well.
Hi Lionel, and thank you very much. It works!
Now I'm having another issue, but I think is better open a new thread.