Make util pathnames have tg- prefix (#87)

This commit is contained in:
cybermaggedon 2024-09-30 21:24:22 +01:00 committed by GitHub
parent 0e4c9c69ee
commit 771d9fc2c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 358 additions and 358 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
CSRF_TOKEN=$(curl http://localhost: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://localhost:7750/pulsar-manager/users/superuser \
-d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}'