POST api/Login
用户登录
请求信息
URI 参数
空
Body 参数
用户名,密码
Users名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
UserID | integer |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
请求格式
application/json, text/json
示例:
{ "UserID": 1, "UserName": "sample string 2", "Password": "sample string 3" }
application/xml, text/xml
示例:
<Users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_APIProject.Models"> <Password>sample string 3</Password> <UserID>1</UserID> <UserName>sample string 2</UserName> </Users>
application/x-www-form-urlencoded
示例:
示例不可用
资源信息
资源描述
IHttpActionResult空
应答格式
application/json, text/json, application/xml, text/xml
示例:
示例不可用