Logo
30 Day Challange API Documentation

Day 13: Newman

Number of APIs: 3


Instructions for Day 13: Newman

  1. Get the challenge: Fork [the parent collection Day 13: Newman] from the main workspace 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

  • [Variables]
  • [Scripts]
  • [Writing tests]
  • [Running collections on the command line with Newman]

Additional resources

Next challenge

  • [OAuth]


1. Newman - planets

GET https://swapi.dev/api/planets



2. Newman - species

GET https://swapi.dev/api/species



3. Submit your solution - submit

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

It's time to submit your solution.

  1. Use a Qodex environment : Find the Qodex API env environment from the previous challenge. Update the collectionUid with the current collection's ID, so Qodex will update the request URL.
  2. Validate your solution in the Runner: 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.
  3. Validate your solution in Newman (optional): Instead of running this request in Qodex, you can use Newman to validate your solution from the command line. You may need to do some research on this one. There's many ways to handle sensitive information locally while running Newman, but be careful not to expose your secrets in your public workspace.

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