
1.post 请求
2.地址 http://ip:端口/auth/realms/域名/protocol/openid-connect/token
3.请求参数选择body 选择 x-www-form-urlencoder
4.参数
grant_type password
client_id admin-cli
username 你的用户名
password 你的密码
本文详细介绍了如何通过POST请求调用身份验证API,包括请求的URL、参数设置及所需携带的用户凭证信息。

1.post 请求
2.地址 http://ip:端口/auth/realms/域名/protocol/openid-connect/token
3.请求参数选择body 选择 x-www-form-urlencoder
4.参数
grant_type password
client_id admin-cli
username 你的用户名
password 你的密码
1万+

被折叠的 条评论
为什么被折叠?