You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/10/19 07:12:49 UTC

[GitHub] [pulsar-manager] pgandhap opened a new issue #428: Getting error while creating super user for pulsar-manager

pgandhap opened a new issue #428:
URL: https://github.com/apache/pulsar-manager/issues/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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org