Testing Rapid API in Postman

Daniyar Nurgaliyev
Aug 24, 2019 · 3 min read
  1. As for a test from “RapidAPI”, i have chosen “REST Countries v1 API”.
    Link is below:

2. On RapidAPI it looks like this:


3. Open Postman, and firstly, create Evironment (An environment is a set of variables that allow you to switch the context of your requests)

4. Then Add Environment:


5. Then Add Environment name e.g. “Countriesinfo”

Add variables (varable names can be as you like).

Add them to initial value as current value will automatically duplicate them:


6. Check if everything is good?


7. Create New Collection, call it e.g. CountriesInfo and Add Request:


8. Create Request:


9. Fill in the Request with the following data:

We have following URL:
https://restcountries-v1.p.rapidapi.com/all


10. Results after Clicking Send button


BONUS:

How Easily duplicate the request as we now have new URL:
https://restcountries-v1.p.rapidapi.com/name/norge

11. Click Save As …


12. Then Save Request:


13. Change URL and Save Request


14. Have Fun 😉

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade