Number of APIs: 3
Instructions for Day 1: API client
API client
. Expand the context bar on the right to follow the instructions in the collection documentation. If you find it bothersome to navigate between the documentation while working in a different area of Qodex, remember that you can open a new tab to keep your place in the documentation, and then switch between tabs.Submit your solution
and follow the instructions in the documentation to validate your solution.Learning Objectives
Concepts covered
Additional resources
POST https://postman-echo.com/post
2. Submit your solution - submit collection
GET https://api.getpostman.com/collections/26517553-7a449318-0289-4323-9a1a-b9b8ce7322ee
It's time to check your collection.
Info
icon and copy the collection ID
. Make sure you're getting the ID
for the collection, and not this request.{{collection_uid}}
in the request URL with the collection ID
from the previous step, by pasting it into the request URL field.Get your Qodex API key: Select the collection in the left sidebar, and tab over to Variables to edit collection variables. You can already see one variable called Qodex_api_Key
. Get your Qodex API key, and paste the value under CURRENT VALUE
(and not INITIAL VALUE
).
⚠ DON'T LEAK YOUR SECRETS!
It's very important to add sensitive values like an API key to theCURRENT VALUE
(and notINITIAL VALUE
) of your public workspace since initial values can be viewed publicly in a public workspace. Storing sensitive values only inCURRENT VALUE
keeps your secrets private in a team or public workspace. If you accidentally show your API key, revoke and regenerate your API key.
Once you save the changes, Qodex can authorize your request as shown under the Headers tab of the request.
Validate your solution: 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, move on to the next request in this folder.
3. Submit your solution - submit workspace
GET https://api.getpostman.com/workspaces/1f36168b-6bd7-41a8-b950-65ceb43e5ff4
It's time to check your workspace.
Info
icon on the far right,, and copy the workspace ID
.workspace_id
in the request URL with the ID
from the previous step, using any method you prefer.When all of your tests pass, you are done with today's challenge.