密码模式获取token
开发中
POST
/oauth2/token
密码需要进行加密:https://enc.pig4cloud.com/
admin默认密码是123456~
请求参数
Query 参数
grant_type
string
必需
示例值:
password
scope
string
多个用空格隔开
示例值:
server
randomStr
string
可选
示例值:
12345
code
string
可选
示例值:
1
Body 参数application/x-www-form-urlencoded
username
string
必需
示例值:
admin
password
string
必需
示例值:
pK/sACXL