How to send a request to the Admin REST API with a JWT token? #19104
Unanswered
Christopher-06
asked this question in
Q&A
Replies: 2 comments
-
curl -X GET -H 'Authorization: Bearer JTW_TOKEN(NO token: prefix)' -H 'X-Pulsar-Auth-Method-Name: token' -H 'Content-Type: application/json; charset=UTF-8' -i 'http://ServiceURL:PORT/admin/v2/persistent/public/default/partitioned?includeSystemTopic=false' |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello together,
I am trying to configure my Pulsar cluster and wanted to create a Python script for it. But since I have JWT token enabled for security reasons, it needs to be sent along to the REST API, but I don't know where it needs to be set.
Does anyone here know more specific?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions