Planet-by-id (Dynamic Vars)
GET {{swapiBaseUrl}}planets/{{$randomInt}}
Use this call to get information about a random Planet by passing a dynamic variable into the URL by using the faker.js library that Qodex has built in to it's Global variable collection.
In this instance we are using {{$randomInt}} which returns a integer from 1-1000. Now that is a quite a range for this API that only contains 60 planets.
How can we do this in a smarter way?