Skip to content

Instantly share code, notes, and snippets.

@yangl
Last active February 23, 2023 07:53
Show Gist options
  • Save yangl/e4cbd226882382bc51c255d018d36790 to your computer and use it in GitHub Desktop.
Save yangl/e4cbd226882382bc51c255d018d36790 to your computer and use it in GitHub Desktop.
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://10.207.128.13:18080/admin/v2/persistent/public/default/partitioned?includeSystemTopic=false'

主要是两个head:

Authorization: Bearer $JTW_TOKEN(NO token: prefix)

X-Pulsar-Auth-Method-Name: token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment