【发布时间】:2015-06-01 18:05:03
【问题描述】:
我的 LAN 中启动了一个基于 NodeJS 的 OAuth2 服务器(使用 oauth2-server 模块)。我想用 Postman REST Client 测试它,但我收到了这个错误响应:
{
"code": 400,
"error": "invalid_request",
"error_description": "Invalid or missing grant_type parameter"
}
这是我的请求配置:
我尝试通过 URL 发送参数,但出现错误:Method must be POST with application/x-www-form-urlencoded encoding。
谢谢。
【问题讨论】:
标签: node.js authentication oauth-2.0