# Using a Simple HTTP Client

Test an API without leaving your editor by writing requests in a .http file and running them from IntelliJ or VS Code.

Journeyman · Spring Boot · REST API · Updated November 14, 2026

IntelliJ includes a simple HTTP Client tool for quickly testing APIs. Plugins such as REST Client are also available in the VS Code marketplace.

These text-based HTTP Clients do not have all the features of Insomnia, but they allow you to inspect an API call quickly without leaving your development environment.

To test an API, simply add a new file to your project directory and give it a `.http` extension.

![A categories.http file added at the root of the Spring Boot project, next to pom.xml](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/09/c6665c62a0bf497e979b14401fccd409.png "A categories.http file added at the root of the Spring Boot project, next to pom.xml")

Each file can contain multiple requests that can each be run individually, or all can be run at once.

![A .http file with three requests, GET all categories, GET category 11 and POST a new category, each with its own run button and one button to run them all](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/09/20fc2abf9a55446384ef832425ea73b2.png "A .http file with three requests, GET all categories, GET category 11 and POST a new category, each with its own run button and one button to run them all")

Source: https://www.ask-codey.com/lessons/dissecting-the-request-and-response-using-a-simple-http-client
