POST api/Authentication/AuthorizationWithOutEncryption
Регистрация на данном ресурсе, без дополнительного шифрования.
Request Information
URI Parameters
None.
Body Parameters
AccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Login |
Login передается в формате string в открытом виде |
string |
Required |
| Password |
Password передается в формате string в открытом виде |
string |
Required Data type: Password |
Request Formats
application/json, text/json
Sample:
{
"Login": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models"> <Login>sample string 1</Login> <Password>sample string 2</Password> </AccountModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Token авторизации
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>