Bearer Token
AnsweredIf I execute a sample in the Generic Event generator, is the included Bearer Token valid for the server it is executed on?
Example :
curl --insecure -X POST "https://localhost:7001/api/createEvent" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer vms-12360e3210200304987a90377745d760-asFU3t6456" -d "{\"source\":\"string\",\"caption\":\"string\",\"description\":\"string\",}"
-
Hi @...
You calculate the bearer token on the server, and you use them on the server, so yes.
0 -
Thank you Norman. Is there an interface in the Admin to generate and manage the Bearer Token?
0 -
Hi @...,
There isn't. The bearer token is something that has to be part of the code you are creating, since bearer tokens will void and have to be renewed.
Please check THIS topic, which also links to our Github Repo with code examples.
0
Please sign in to leave a comment.
Comments
3 comments