Thunder Client: How to use to test APIs

Thunder Client: How to use to test APIs

Recently, I started using an amazing VSCode extension called “Thunder Client” which makes it easy to make HTTP requests for testing APIs. I’m loving this tool! In this article, I will share what Thunder Client is how you can install it, and start using it today!

Let’s go!🚀

What is Thunder Client?

Thunder Client is an extension for Visual Studio Code that simplifies API and web service testing. With it, you can make HTTP requests using GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS methods. This extension aims to provide a simple, fast, and clean usability for the user.

How to install

The installation is simple, just search for the name “Thunder Client” in the “Extensions” of Vscode and click on install

By clicking “New request” we can see all the available HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD…) for making requests.

In just a few minutes, we can test it out. Here, I made a call to test an API that I had created. Basically, you input the URL, method, headers, or body if necessary on the left side, and on the right side, we receive the response.

We can create a collection and save our tests by clicking on the three dots and selecting the “Save to Collection” option.

Simply enter a request name, URL, select the Create New option and enter the new name. After that, save the changes.

Finally, we can see our saved collection on the left side under the “Collections” section.

If you found this article helpful, please leave a comment.❤️

Leave a Reply

Your email address will not be published. Required fields are marked *