文档
测试

授权码模式

POST
http://localhost:20001/oauth/authorize?response_type=code&client_id=ams

接口描述

http://localhost:20001/oauth/authorize?response_type=code&client_id=ams

请求头

参数名
类型
描述
必填
Authorization
string
示例:Basic YW1zOmFtcw==
必填

请求参数

参数名
类型
描述
必填
code
string
示例:we2o4D
必填
grant_type
string
示例:authorization_code
必填

响应参数

参数名
类型
描述
必填
code
string
示例:A00100
必填
msg
string
示例:用户名或密码错误
必填