Day 05: Variables

Number of APIs: 3

Instructions for Day 5: Variables

  1. Get the challenge: Fork [the parent collection Day 05: Variables] 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

  • [Variable scopes]
  • [Defining variables]
  • [Accessing variables]

Additional resources

  • [10 tips for working with variables] blog
  • Variables tiktok

Next challenge

  • [Tests]
  1. Variables - collection variable GET {{coindeskBaseUrl}}/v1/bpi/currentprice/btc.json

  2. Variables - global variable GET {{coindeskBaseUrl}}/v1/bpi/currentprice/{{currency}}.json

  3. Submit your solution - submit GET https://api.getpostman.com/collections/20005310-a1507669-20f6-4f5b-aece-324d51e82406