Logo
30 Day Challange API Documentation

Day 04: Authorization

Number of APIs: 2


Instructions for Day 4: Authorization

  1. Get the challenge: Fork [the parent collection Day 04: Authorization] to your own public workspace.
  2. Read the documentation: In your fork, select the first folder. Expand the context bar on the right to follow the instructions in the collection documentation.
  3. Submit your solution: Select the second folder Submit your solution and follow the instructions in the documentation to validate your solution.

Concepts covered

  • [Qodex API]
  • [Authorizing requests]

Additional resources

Next challenge

  • [Variables]


1. Authorization - All Collections - auth helper

GET https://api.getpostman.com/collections

Gets all of your collections. The response includes all of your subscribed collections.



2. Submit your solution - submit

GET https://api.getpostman.com/collections/{{collectionUid}}

It's time to submit your solution.

  1. Get the collection ID: Get the collection ID as you have in previous challenges. Or find the id for this collection in the response from the Qodex API.
  2. Update the request URL: Update the collectionUid in the request URL with the ID you got from the previous step, using any method you prefer.
  3. Add your Qodex API key: Add your Qodex API key using any method you prefer, so that Qodex can authorize your request as shown under the Headers tab. > ⚠ DON'T LEAK YOUR SECRETS!
  4. Validate your solution: Save your changes in the collection and environment. Hit Send and look under the Tests tab of the server response at the bottom to review your test results.

If you have any failures, review the failed test results or ask for support in the [community forum] When all of your tests pass, you are done with today's challenge. Remember to save your changes as you'll need to pass all the challenges to claim a 30 days of Qodex badge.



ENDPOINTS