Insomnia
02 / 02

GraphQL, gRPC, Design Mode & Scripting

GraphQL, gRPC, Design Mode & Scripting

GraphQL & gRPC Support

GraphQL requests get a dedicated query editor with schema introspection (autocomplete from the actual schema) instead of hand-writing a raw JSON POST body. gRPC support (Protocol Buffers over HTTP/2) means one tool covers REST + GraphQL + gRPC rather than juggling separate specialized clients per protocol.

Design Mode — OpenAPI Specs

Author/edit an OpenAPI (Swagger) spec directly in Insomnia, generating and testing requests from it — supporting an API-design-first workflow rather than only testing an API that already exists.

Version-Controllable Collections

Collections/environments stored as plain files can be committed to git — reviewed via diffs, collaborated on via pull requests, kept in sync with the API codebase, rather than living only in a proprietary cloud format.

Pre-Request Scripts & Tests

A pre-request script runs custom JS before sending — e.g. computing a timestamp-based HMAC signature that can't be a static variable. Post-response tests/assertions check status codes, field values, or response time, turning manual checks into repeatable ones.

Cross-Environment Comparison

Re-running the same request against Staging then Production (via environment switching) is a lightweight way to catch drift — a missing field or different status code — before it surfaces as a production incident discovered by a consuming service.

Keep your own version of these notes — editable, searchable, and organised by your stack.

Start free