Insomnia supports sending requests via HTTP, gRPC, and GraphQL.
To learn how to repurpose parts of your request, see Environment Variables.
Send an HTTP method request in a Document or Collection. The following instructions assume you’re starting with an empty Document or Collection.
In addition to standard HTTP methods, Insomnia supports Custom HTTP Methods.
See Request Options to customize your request.
Modify any HTTP method or GraphQL request with the following options.
Option | Description |
---|---|
Body | Select a body type from the Body dropdown menu on the tab. Add content that you want to send in the body of the request. |
Auth | The authentication for the request. Select an authentication type from the Auth dropdown menu on the tab. |
Query | Add query parameters to your request URL. For example, ?page=1 . |
Header | Add a header to your request. For example, Content-Type: application/json . |
Docs | The request description. |
Add your own custom HTTP methods through the New Request modal dropdown or the methods dropdown.
To access existing custom methods, click on Custom Method in the methods dropdown.
Send a gRPC method request in a Document or Collection. The following instructions assume you’re starting with an empty Document or Collection.
See gRPC Request Options to customize your request.
Modify any gRPC request with the following options.
Option | Description |
---|---|
Streaming Type Example: Unary |
The body of the request. The tab displays the streaming type, auto-detected from the Proto File or directory. Streaming types are: Unary, Server Streaming, Client Streaming, and Bidirectional Streaming. |
Headers | Add gRPC metadata to your request. For example, Content-Type: application/grpc . |
Send a GraphQL method request in a Document or Collection. The following instructions assume you’re starting with an empty Document or Collection.
See Request Options to customize your request.