> ## Documentation Index
> Fetch the complete documentation index at: https://docs.httpmon.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Request actions

> Copy as cURL, repeat requests, and more from the action menu

httpmon provides quick actions for working with captured flows. You can access them through the action menu or with direct keyboard shortcuts.

## Action menu

Press `Space` to open the context-aware action menu. The available actions depend on which view you are in.

**From the flow list:**

| Action           | Key     | Description                                     |
| ---------------- | ------- | ----------------------------------------------- |
| Open Detail      | `Enter` | Open the selected flow's detail view            |
| Export HAR       | `x`     | Export all captured flows to HAR format         |
| Compose Request  | `C`     | Open the request composer                       |
| Mark for Diff    | `d`     | Mark the selected flow for comparison           |
| Toggle Tree/Flat | `t`     | Cycle between flat, host tree, and process tree |
| Focus Host       | `f`     | Focus a single group (tree mode only)           |
| Scripts          | `S`     | Open the scripts manager                        |
| Throttle         | `T`     | Open throttle settings                          |
| Breakpoints      | `B`     | Open the breakpoints queue                      |
| Settings         | `P`     | Open settings                                   |

**From the detail view:**

| Action               | Key | Description                           |
| -------------------- | --- | ------------------------------------- |
| Export HAR           | `x` | Export this flow to HAR format        |
| Copy cURL            | `c` | Copy the request as a cURL command    |
| Repeat Request       | `r` | Replay the request through the proxy  |
| Open in Editor       | `e` | Open the body in your external editor |
| Toggle Pretty/Raw    | `p` | Switch between formatted and raw view |
| Toggle Image Preview | `i` | Preview image bodies inline           |
| Scripts              | `S` | Open the scripts manager              |
| Throttle             | `T` | Open throttle settings                |
| Settings             | `P` | Open settings                         |

<Frame>
  <img src="https://mintcdn.com/pragmaticoslu/UejK5lUtB1lx9XaT/images/screenshots/actions.png?fit=max&auto=format&n=UejK5lUtB1lx9XaT&q=85&s=a5cf5f5599126ca9d8d851d94482602a" alt="httpmon action menu" width="5877" height="1904" data-path="images/screenshots/actions.png" />
</Frame>

## Direct shortcuts

You can also trigger actions directly without opening the menu.

### Copy as cURL

Press `c` in the detail view to copy the request as a cURL command to your clipboard. httpmon uses OSC 52 for clipboard access, so it works over SSH sessions too.

### Repeat request

Press `r` in the detail view to replay the request. The repeated request goes through the proxy and appears as a new flow in the list.

### Open in editor

Press `e` in the detail view to open the response or request body in your external editor. httpmon uses the `$EDITOR` environment variable to determine which editor to launch.
