Login Request - Post Body

Sai Teja Madha 2021-01-19 12:34:38 +05:30
parent da11727ad5
commit e7786cef03

2
API.md

@ -43,6 +43,7 @@ POST `api/client/<clientId>/login`
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
**Adds cookie with key `.AspNetCore.Cookies` to be used to authenticate subsequent requests**
### Logout Request
@ -50,6 +51,7 @@ POST `api/client/<clientId>/logout`
| Parameter | Method | Description | Type | Validation | Default |
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
| password | POST Body | Client password | String | Required | -- |
**Invalidates and removes cookie with key `.AspNetCore.Cookies`**