Logo
30 Days of Postman exercises API Documentation

submit

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

It's time to submit your solution.

  1. Get the collection ID: Select the collection in the sidebar. In the context bar to the right, select the Info icon and copy the collection ID. Make sure you're getting the ID for the collection, and not this request.
  2. Update the request URL: Update the collection_uid 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. You can use the same environment you created in the previous challenge. Or add a collection or global variable, that we will learn about in upcoming challenges. > ⚠ DON'T LEAK YOUR SECRETS! > Do not paste your API key under the Headers tab. Instead, use a variable. When working with variables, it's very important to add sensitive values like an API key to the CURRENT VALUE (and not INITIAL VALUE) of your public workspace since initial values can be viewed publicly in a public workspace. Storing sensitive values only in CURRENT VALUE keeps your secrets private in a team or public workspace. If you accidentally show your API key, revoke and regenerate your API key.
  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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
x-api-key
string




RESPONSES

status





Curl
curl -X GET 'https://api.getpostman.com/collections/undefined' -H 'x-api-key: undefined'

ENDPOINTS