Create, edit, and execute HTTP requests in IntelliJ IDEA.
Extensive functionality for seamless request management right from the IDE.
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.
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.
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.
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.
Handle complex cases, automate repetitive tasks, integrate with external systems through 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.
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.
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 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 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.