且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

对Graph API的POST请求因错误的请求而失败

更新时间:2023-11-04 20:22:46

已解决.我使用字符串作为第二个参数发送了凭据: client_id = $ {config.get('azure.appId')}& scope = $ {config.get('azure.scope')}& client_secret= $ {config.get('azure.secret')}& grant_type = $ {config.get('azure.grantType')}

Solved it. I sent the credentials using a string as the second argument: client_id=${config.get('azure.appId')}&scope=${config.get('azure.scope')}&client_secret=${config.get('azure.secret')}&grant_type=${config.get('azure.grantType')}