Search code examples
desire2learnvalence

How can i send request to API from Postman?


I am going to make request from postman to https://lms.freedomhighschool.ca/d2l/api/lp/1.30/users/

but after request i got message { Errors: [ {Message: "Forbidden"} ] }

I have Application ID and Application Key but don't understand how to use this data in my request


Solution

  • Tool: Postman (recommended for OAuth 2.0 Apps)

    Notes: Postman is a market-leading API test tool. It is available for free download at www.getpostman.com. You can find Sample Postman Environments and Collections on the Brightspace Github organization. You can find information on how to connect Postman to Brightspace in the Brightspace Developer Community.

    Tool: API Test Tool (ID Key Apps Only)

    Notes: The API Test Tool runs in a web browser and provides an interface to point to an instance of Brightspace, supply an App ID/Key pair, and log in with a given user account. Once authenticated, you can make calls using a straightforward interface. You can find more information about using the API test tool on the Brightspace Developer Community.

    Conclusion use this -> API Test Tool if you have Application ID and Application Key enter image description here

    refer this documentation for brief info