Replies: 1 comment 2 replies
-
Hey, have you read our docs around this? https://docs.portainer.io/api/access |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ask a Question!
Portainer Verison : 2.27.0
I'm currently testing the Portainer API using Postman on localhost.
I obtained a JWT via /api/auth and added it to the Authorization header as a Bearer token. Then, I made a POST request to /api/users/{id}/tokens.
However, I received the following response:
"Forbidden - CSRF token not found in request"
How can I generate an access token via the API?
Beta Was this translation helpful? Give feedback.
All reactions