apache / apache/pulsar-manager

Getting error while creating super user for pulsar-manager

Open
#428 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
539
Forks
239
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.