Making an OAuth2 REST API Request via Postman for Eval25

GET Request

  1. Go to the following website and download, install, then open Postman:
  2. In Postman, enter the following to the right of the GET dropdown box:
    • http://www.applyweb.com/eval/api/v1/courses?scope=wdyt:metadata&accept=xml
    • Note: &accept=xml is optional. If ignored, a JSON result will be returned.
      Postman configurations
  3. From the Type dropdown box, select OAuth 2.0.
  4. Click the Get New Access Token.
  5. In the ensuing pop-up window, enter the following: 
FieldWhat to enter
Token Nameapi_token
Auth URLhttps://www.applyweb.com/eval/oauth2
Access Token URLhttps://www.applyweb.com/eval/oauth2/token
Client IDEnter the ID emailed to you from your Eval25 Administrator.
Client SecretEnter the secret or passcode/password emailed to you.
Scope (Optional)Leave this field blank.
Grant TypeSelect Client Credentials


Get new access token window 


6. When ready, click the Request Token

7. Once the token is created, click the new token in the Existing Token panel.

8. Click Use Token in the panel to the right button to append the token to the request URL.

9. Click the Send button to the right of the GET request. 

  • The result of the GET request will be displayed on the bottom Postman panel.

Alternative Method

You can alternatively use two separate steps to get the token using the POST method, and then appending the token to the request URL to produce a GET request for the data.

To make a request using Curl commands:

  1. Get access token.
    • curl https://www.applyweb.com/eval/oauth2/token --data "grant_type=client_credentials" --user "client_id:client_secret"
  2. Endpoint request.
    • curl -H "Authorization: Bearer token_returned_from_step_1" https://www.applyweb.com/eval/api/v1/courses?scope=wdyt:metadata