curl --location --request GET 'https://login.microsoftonline.com/535b2d87-664f-415a-b7fa-fd3f1086d450/oauth2/token' \ --header 'Authorization: Bearer null' \ --header 'Cookie: fpc=AsRmKCSoZd5MoZkTHpKLW42f_YrjAQAAALHJ2tcOAAAA' \ --form 'client_id="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"' \ --form 'client_secret="XXXXXXXXXXXXXXXXXXXXXXXXXXx"' \ --form 'grant_type="client_credentials"' From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx>
On Behalf Of Brad Stone
A GET doesn't have data in the body of the request, a POST does. Ask them if they can provide a cURL example that works... or a Postman example. On Wed, Mar 10, 2021 at 9:32 AM Weaver, Corby <corby.weaver@xxxxxxxxxxxxx> wrote:
|
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi