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\",}"
-
You calculate the bearer token on the server, and you use them on the server, so yes.
-
Hi Jack Plunkett,
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.
Please sign in to leave a comment.
Comments
3 comments