CHAPTER 3Installing Thunder Client
This chapter is about installing an API test program. This will help us reduce the amount of work we have to do to check our API. There are many programs for this, like Postman, Insomnia, etc. But Thunder Client is simpler and it is convenient to use it from within VSCode itself.
-
To test the API easily, install Thunder Client:
- Click on the Thunder Client button in the Activity Bar.
- Click the "Collections" Tab.
- Create a new collection.
- Change the collection settings using the right mouse button on the collection.
- Set the base URL to
http://localhost:8888
(with your port). Make sure it ishttp
since our server does not implementhttps
. - Create a new request, and set it to
/
with a GET verb. - Start the server if it is not running and check that the response is right.