JetBrains logo

IntelliJ IDEA

Manage HTTP requests directly in the IDE

Create, edit, and execute HTTP requests in IntelliJ IDEA.

HTTP, gRPC, GraphQL, WebSockets requests

Extensive functionality for seamless request management right from the IDE.

HTTP request in HTTP Client

HTTP requests

Create HTTP files and specify key elements like the HTTP method (GET, POST, PUT, etc.), URL, headers, query parameters, and request body — and then execute it and view the response.

gRPC request in HTTP Client

gRPC requests

If you start your requests with “GRPC”, the HTTP Client treats them as gRPC requests. You can generate gRPC requests from proto files and the Endpoints tool window and send the gRPC metadata.

GraphQL request in HTTP Client in IntelliJ IDEA

GraphQL and WebSocket requests

You can send GraphQL queries via HTTP and WebSocket protocols out of the box. For http:// and https://, simple HTTP requests are used, ws:// and wss:// are delegated to the WebSocket executor.

OpenAPI completion in HTTP Client

OpenAPI completion

Create HTTP requests directly from OpenAPI files. Additionally, as you type requests in the HTTP file, the IDE provides the URL and request body completion based on the OpenAPI specification.

JavaScript handlers and tests

Handle complex cases, automate repetitive tasks, integrate with external systems through scripts.

Pre-Request and Response Handler scripts

Pre-Request and Response Handler scripts

You can write scenarios in JavaScript to manipulate requests before or after they are sent. Pre-scripts allow you to generate data for requests. Response Handler scripts run after receiving responses, allowing you to reuse them in subsequent requests.

JavaScript tests

JavaScript tests

The HTTP Client allows you to write various tests in JavaScript and run them as Response Handler scripts in the corresponding tab of the Services tool window. You can share these tests with teammates via Version Control Systems (VCS) and conveniently execute them on Continuous Integration (CI) platforms.

More features

Import Postman collections

Import Postman collections

With IntelliJ IDEA, you can effortlessly transform Postman collections into .http files and manage them in the HTTP Client. All available HTTP Client features are applicable to the converted files.

Environment files

Environment files

Environment files allow you to define and store environment variables and configurations for HTTP requests. With their help, you can easily switch between different environments (for example – dev, staging, and prod), apply environment-specific values to requests, and reuse previously defined configurations.

The HTTP Client CLI for continuous integration

The HTTP Client CLI for continuous integration

The HTTP Client can work as a Command-Line Interface (CLI) tool, which enables you to execute HTTP requests directly from the terminal, independently of the IDE. You can also incorporate HTTP request testing into your Continuous Integration (CI) workflow. You can run the HTTP Client CLI on any CI service supporting Docker images.

HTTP Client tutorials

Guides