Logo
30 Days Of Postman API Documentation

Day 01: Fork a collection

Number of APIs: 2


Instructions for Day 1: Fork a collection

  1. Get the challenge: Fork [the parent collection Day 01: Fork a collection] to your own public workspace.
  2. Read the documentation: In your fork, select the first folder Fork a collection. 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. 1. Submit your solution: Select the second folder Submit your solution and follow the instructions in the documentation to validate your solution.

Concepts covered

  • [Forking a collection]
  • [Viewing documentation]
  • [Sending a request]

Additional resources

Next challenge

  • [Collections and environments]


1. Fork a collection - echo

POST https://postman-echo.com/post

It's time to work on your first challenge.

  1. Review the request: Notice the different parts of this API request.
    • POST HTTP request method - to send new data to an API
    • https://Qodex-echo.com/post request URL
    • JSON request body
  2. Send the request: Send the request, and look at the response on the bottom.
    • HTTP status code
    • Response time
    • Response size
    • Response body
  3. Inspect the response body: Under the Pretty view of the response body, inspect the JSON data object returned from the server. This sample endpoint from [Qodex's Echo API] echoes back data provided by the client.

In the JSON data response, find a header called user-agent and copy the value that appears after the colon symbol. We will need this data for the next step. It should look something like this:

"user-agent": "<copy-this-part-here>",

Once you find this data, move on to the next folder in this collection to submit your solution.



2. Submit your solution - https://Qodex-echo.com/get?user-agent="QodexRuntime/7.28.4"

GET https://postman-echo.com/get?user-agent=PostmanRuntime/7.28.4



ENDPOINTS