Requests and editor
GUI and Source views, sending, saving, capturing examples, and the protocols beyond REST.
Each request is one block in a .http file. The editor shows it two ways, and both write the same file.
GUI and Source
| View | Use it for |
|---|---|
| GUI | Tabs for Params, Path, Body, Headers, Auth, Vars, Script, Assert, Tests, Docs, File, and Settings. |
| Source | The raw block as text. Edit it like any file in your editor. |
Body modes are none, form-data, urlencoded, raw, binary, and GraphQL. ⇧⌥F formats JSON.
Send and save
| Keys | Action |
|---|---|
⌘↩ | Send |
⌘S | Save now. Forge also auto-saves. |
⌘⇧S | Save the response as an example block in the file |
⌘L | Copy as cURL |
A saved example lives under the request, so it shows up in a git diff and travels with the file.
GraphQL
Pick the GraphQL body mode. The Explorer introspects the schema; tick fields to build the query, then insert it into the editor.
SSE and WebSocket
- SSE streams events with your auth headers and resumes with
Last-Event-ID. - WebSocket sends handshake auth, shows each frame live, and can send binary frames.
Both open from the request's actions menu: Connect via SSE… and Connect via WebSocket….
gRPC
Connect via gRPC… lists methods through server reflection, so no .proto files are needed. If the server has no reflection, load a compiled FileDescriptorSet. Unary and streaming calls are supported.