Files
services/examples/user/create/curl/createAnAccount.sh

9 lines
230 B
Bash
Executable File

curl "http://localhost:8080/user/Create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"email": "joe@example.com",
"id": "user-1",
"password": "Password1",
"username": "joe"
}'