512 B
512 B
Identity Manager
Create Local Account
curl -X POST http://localhost:8080/identity/create-local-identity \
-H "Content-Type: application/json" \
-H "Account: 987272956921" \
-d '{
"username": "farhan",
"first_name": "Farhan",
"last_name": "Khan"
}'
Authenticate
curl -X POST http://localhost:8080/identity/authenticate \
-H "Content-Type: application/json" \
-d '{
"accountid": "987272956921",
"username": "farhan3",
"password": "letmein"
}'