# ed http import-curl

> ed http import-curl in the Edith ed command line reference. ed http

- Canonical URL: https://getedith.pro/docs/cli/http/import-curl
- Updated: 2026-12-02

[`ed http`](https://getedith.pro/docs/cli/http)

[The `ed` command line](https://getedith.pro/docs/cli)

```bash
ed http import-curl FILE [--collection NAME] [--name NAME] [--json]
```

Reads one curl command from a text file of up to 1 MB and saves it as a request. The method, URL, query, headers, body and basic or bearer credentials are kept. The request goes into the collection named by `--collection`, which is created when missing, or into `Imported`. JSON output reports `action` and the saved `request`. A file that cannot be read exits with a not found error, and text that is not a curl command exits with a usage error.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
