Mixed responses for the same request (Cloud REST API)

Kristián Kostecký March 21, 2023

When I try to access permissions on `/permissions/check` I am getting different responses for the same request.

This is response from requests called immediately after each other. I would expect it to fail for both since the credentials are not real. 
Screenshot 2023-03-21 at 16.41.49.png
Here's code snippet 
```
curl --request POST \
--user 'notexisting@email.address:somerandomstring' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"globalPermissions":["USER_PICKER"],"projectPermissions":[{"projects":[],"permissions":["BROWSE_PROJECTS","VIEW_DEV_TOOLS"]}]
}'
```

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events