As you can imagine, if you need to test your API with a bunch of parameters, it can quickly get tiring typing them all out in the URL bar of your browser. It's also super error-prone.

So how do developers test their APIs? One of the best tools is Postman.

It allows you to add key-value pairs for your request parameters and it will automatically format your URL:

It will also allow you to automatically create documentation for your API:

https://learning.postman.com/docs/publishing-your-api/documenting-your-api/

(We'll do this a bit later).


You can download Postman for free here:

https://www.postman.com/downloads/


After you have successfully tested your API route, try creating a new collection called Cafe & Wifi and adding all the existing routes to the collection.

You should end up with all 3 routes saved in your collection. This is important if you want to generate documentation for your API later.

See if you can successfully request a random caf using Postman.