标签: rest curl oauth
由于我刚开始使用OAuth和Curl脚本,因此工作正常。但试图从Advances Rest Client调用获得500内部服务器错误..
尝试从Rest客户端创建新客户端时,
http://localhost:2021/oauth_uri?client_id=unique_client_id&client_secret=client_secret_value&scope[]=clients.admin&authorized_grant_types[]=password&authorized_grant_types[]=authorization_code&authorized_grant_types[]=refresh_token&authorized_grant_types[]=client_credentials&authorized_grant_types[]=implicit&access_token_validity=900&refresh_token_validity=2592000
,Content-Type:application / json和
授权:Bearer Access_Token值
任何帮助将不胜感激
答案 0 :(得分:0)
您是否检查过从REST客户端生成的代码是什么?你可以通过导出它来做到这一点。也试试POSTMAN,你仍然可以找出问题。