【发布时间】:2019-07-17 18:38:14
【问题描述】:
我发现“Content-type” - “application/x-www-form-urlencoded” 应该与 oauth2 一起使用。 是否必须始终使用此 contentType 或仅在请求 access_token 或使用 refresh_token 时使用?
所以我的问题是,我应该使用哪种内容类型从前端发送常规 POST、GET、PUT 请求。如果我可以将 application/json 用于这些请求,或者我应该一直使用 x-www-form-urlencoded ... 谢谢你的建议。
【问题讨论】:
标签: spring spring-boot oauth-2.0