

I tried to use grant type as Authorization code in Postman for authentication and triggered the PostDetails Request.
Postman online software#
Not able to be figure out the exact difference between the Authorization code and client credentials grant type. Postman is a standalone software testing API (Application Programming Interface) platform to build, test, design, modify, and document APIs.
Postman online how to#
So in this article, we learned how to test SharePoint Online REST APIs using the POSTMAN tool. Under OAuth 2.0 Authentication, to authenticate we can use grant type as Authorization code and client credentials.

Then copy the following key-value pairs into the editing space. In the dialog box that opens, add a name for the environment. In the Manage Environments dialog box, select the Add button to add a new environment. There should be a space between Bearer and access_token in the Authorization header Select the Environment Options gear icon in the top-right corner. Although Postman's arguments are not mentioning online education (which was not a thing in 1993), we can extrapolate his argument and ask ourselves: What. Make a GET call to get items from SharePoint ListĬontent-Type:application/json odata=verbose Now copy the access_token from the response. The client_id & client_secret can be obtained from Step2 and tenant_id from Step5. So to get the Tenant Id go to For example - Īfter getting the Tenant Id, Open the POSTMAN tool and make a POST request to the below URL with your App & Tenant details to get the access the values in Red color with your corresponding App & Tenant details.
