Skip to content
Edith

Docs

Developer & Data

Requests

Keep collections of API requests as readable JSON files, fill them from environments with secrets kept in the Keychain, and read responses as a searchable JSON tree. Import curl or Postman, add simple tests and run a whole collection. Nothing reaches the network until you send. Read the Requests overview for screenshots and use cases.

Requests in Edith with an Acme API collection of GET, POST and PATCH requests, a GET with two query parameters and its 200 OK JSON response expanded as a tree
Requests in Edith with an Acme API collection of GET, POST and PATCH requests, a GET with two query parameters and its 200 OK JSON response expanded as a tree

Install Requests

  1. Open Library in Edith's sidebar.
  2. Search for Requests in Search tools, or open the Developer & Data category.
  3. Press Install. Requests is added to your sidebar.

From the terminal, ed extensions install requests does the same. See Extensions for turning extensions off, updating and removing them.

Where to find Requests

  • Sidebar. Click Requests in the sidebar to open its page, or press ⌘K and type its name.
  • Home. Open Home, press Edit Home, then Add widgets to place its widgets.

Get started with Requests

  1. Add a request. Start a collection, paste a curl command or import a Postman collection.
  2. Pick an environment. Variables such as {{baseUrl}} and {{token}} are filled in. Secret ones stay in the Keychain.
  3. Send it. Press Command-Return, then read the status, time, headers and body.
  4. Check it. Add status and JSON path checks, then run the whole collection.

What Requests does

  • Send an HTTP request. Build, save and send API requests, then read the JSON response as a tree.
  • Test an API. Check status codes and JSON values, and run a collection of requests.

Settings

Open Requests from the sidebar and press Settings at the top right of its page. You can also select Requests in Library and press Settings, or press ⌥⌘, while its page is open.

From the terminal, read a setting with ed config get <key> and change it with ed config set <key> <value>, using the key in the last column. See ed config.

Sending

Setting Default Values Key
Give up after
How long to wait for a response before stopping.
30 seconds 1 to 300 seconds requestsTimeout
Follow redirects
Turn off to see the redirect response itself.
On On, Off requestsFollowRedirects

History

Setting Default Values Key
Keep the last
Sent requests are kept with secrets removed.
200 requests 10 to 1000 requests requestsHistoryLimit

From the terminal

Everything above works in the app. The ed command line is optional, for scripts and coding agents. Requests's commands are in ed http, and each one is also a tool in Edith's MCP server.

Terminal
ed http lsed http send api/list-users --env staginged http run apied http curl api/list-users

Permissions and requirements

  • macOS 14 or later on Apple silicon
  • Network access to the servers you send requests to
  • Keychain, to store secret variable values

See Permissions for how Edith asks for each one.

Questions

Where are my requests stored?

As JSON files in Edith's data folder on your Mac, one file per collection and one per environment. Nothing is uploaded, and there is no account or workspace to sign in to.

How are API keys and tokens kept safe?

Mark a variable as secret and its value goes into your macOS Keychain, not into the file. The value is masked in the resolution preview, left as a placeholder in exported curl commands, and removed from history.

Can I import a Postman collection?

Yes. Requests reads a Postman collection v2.1 file, including folders, headers, bodies, and bearer, basic and API key auth. You can also paste a single curl command.

Does it send anything in the background?

No. Requests touches the network only when you send a request or run a collection. Opening the page, editing and previewing variables send nothing.

Can I send GraphQL queries and file uploads?

Yes. A GraphQL body takes a query and JSON variables, and a multipart body takes text fields and files you choose from disk.

Is Requests included in Edith's one-time price?

Yes. Requests comes with every Edith license.