Logo
30 DAYS API Documentation

Day 01: Fork a collection

Number of APIs: 2


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 - submit

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

It's time to submit your first solution.

  1. Enter your data: Under the Params tab, find the key user-agent. Replace the value your-data-here with the data you found in the previous step. When you update the query parameters, notice the request URL also updates with this new information.
  2. Validate your solution: Hit Send and look under the Tests tab of the server response at the bottom to review your test results.
  3. Under the Tests tab, click on the Visualize option to see some fun output!

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