POST api/Values/Login
Request Information
URI Parameters
None.
Body Parameters
CredentialsName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ValidUserName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
token | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "token": "sample string 3" }