Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-428: Getting error while creating super user for pulsar-manager #233

Open
sijie opened this issue Oct 19, 2021 · 0 comments
Open

ISSUE-428: Getting error while creating super user for pulsar-manager #233

sijie opened this issue Oct 19, 2021 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Oct 19, 2021

Original Issue: apache#428


CSRF_TOKEN=$(curl http://backend-service:7750/pulsar-manager/csrf-token)
curl
-H "X-XSRF-TOKEN: $CSRF_TOKEN"
-H "Cookie: XSRF-TOKEN=$CSRF_TOKEN;"
-H 'Content-Type: application/json'
-X PUT http://backend-service:7750/pulsar-manager/users/superuser
-d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}'

While running the above command iam getting below error. what's the fix

Error :

curl: (6) Could not resolve host: admin,
curl: (6) Could not resolve host: password
curl: (6) Could not resolve host: apachepulsar,
curl: (6) Could not resolve host: description
curl: (6) Could not resolve host: test,
curl: (6) Could not resolve host: email
curl: (3) [globbing] unmatched close brace/bracket in column 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant