DEV Community

Cinthia Barbosa da Silva
Cinthia Barbosa da Silva

Posted on

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

Image description

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

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.

Image description

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

Image description

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

Image description

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

Image description

If you found this article helpful, please leave a comment.ā¤ļø

Top comments (0)