Renaming notes to README
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
## 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"
|
||||
}'
|
||||
```
|
||||
Reference in New Issue
Block a user