如何在Json中发送D类型数据

时间:2019-07-24 13:57:36

标签: json http get postman

我正在尝试向https://auth.ngdalabor.de/auth/realms/testentity/protocol/openid-connect/token发布内容 使用邮递员,我收到无效的请求错误,我尝试转换此数据

 -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Postman-Token: 7bf29c93-edfb-42d5-a332-b575f59eas' \
  -H 'cache-control: no-cache' \
  -d 'grant_type=password&client_id=securPharm'

我尝试将其转换 这样

{
"Content-Type": "application/x-www-form-urlencoded",
"Postman-Token": "7bf29c93-e2fb-42d5-a432-b575f59e9f52",
"cache-control": "no-cache",
"grant_type":"password",
"client_id":"APO1230176"
}

0 个答案:

没有答案