Request Line

The request line is the top bar of the workspace. It contains the essential elements for defining and executing a request: the HTTP method, the target URL, and action buttons.

HTTP Method

The method dropdown on the left side of the URL input defines the type of HTTP operation. Select the method that matches your API's expected action.

MethodPurposeHas Body
GETRetrieve data from the server. Should not modify server state.Optional*
POSTCreate a new resource or submit data for processing.Yes
PUTReplace an existing resource entirely with new data.Yes
PATCHPartially update an existing resource.Yes
DELETERemove a resource from the server.Optional*
HEADSame as GET but returns only headers, no body. Used to check if a resource exists.Optional*
OPTIONSReturns the HTTP methods supported by the server for a URL. Used for CORS preflight.Optional*
HTTP Spec (RFC 7231): A payload body on GET, HEAD, DELETE, or OPTIONS requests has no defined semantics. While technically allowed, most servers ignore or reject the body for these methods.

URL Input

The URL input accepts the full endpoint address. You can type, paste, or use environment variables.

Basic URL Format

https://api.example.com/users/123
Protocol: https:// or http://. If the scheme is omitted, Atrahasis defaults to http://.
Host: api.example.com
Path: /users/123

URL with Query Parameters

https://api.example.com/users?page=1&limit=10

Query parameters added in the URL are automatically synced to the Params tab.

URL with Path Variables

https://api.example.com/users/:userId/posts/:postId

Path variables use colon prefix (:variableName). Values are defined in the Vars tab and replaced before sending.

URL with Environment Variables

{{baseUrl}}/users/{{userId}}

Environment variables use double curly braces ({{variableName}}). Values are resolved from the active environment when sending.

Keyboard shortcut: Press Enter while the URL input is focused to send the request.

URL Autocomplete

When you focus the URL input, Atrahasis opens a suggestion dropdown showing up to five previously sent URLs that match what you have typed so far. Each suggestion includes the HTTP method it was last used with and its response status code, so you can pick an endpoint and method together with a single click or keystroke.

How Suggestions Are Collected

Every time a request completes successfully, Atrahasis records the method, URL, and response status in a local completion history. Failed or cancelled requests are not recorded. The history is stored on your machine and is never synced or transmitted.

Navigating the Dropdown

  • / — Move the highlight through suggestions
  • Enter — Apply the highlighted suggestion (fills both URL and method)
  • Click — Apply the clicked suggestion
  • Clicking outside the input closes the dropdown

Disabling Autocomplete

URL autocomplete is enabled by default but can be turned off from the user preferences. Suggestions are also automatically hidden when the tab is opened from an OpenAPI project, where server selection and path editing follow a different flow.

Send Button

The Send button executes the request with the current configuration.

SendClick to execute the request. The button changes appearance during execution.
Send...Animated dots indicate the request is in progress. Click again to cancel.

Before Sending

The following checks are performed before a request is sent:

  • Path variables must have values (if URL contains :param syntax)
  • If path variables are empty, you are redirected to the Vars tab with a warning

Save Button

The Save button (disk icon) stores the request configuration for later use. Saved requests appear in the Box section of the sidebar.

New Request

For requests not yet linked to a Box item, clicking Save creates a new Box item. The Box item name comes from the current tab name — if you have not renamed the tab manually, Atrahasis uses {METHOD} {URL} as the default. You can rename the Box item later from the sidebar.

Existing Request

For requests opened from Box, clicking Save updates the existing item with your changes. The button label switches to "Update" (shown as a tooltip on the disk icon) when there are unsaved modifications, and is disabled when the tab matches the saved state.

Project Endpoint

For requests opened from a Project, Save updates the endpoint definition in the project file. The button is disabled unless the tab has unsaved changes relative to the project endpoint.

What is saved: Method, URL, headers, params, vars, body, authentication, assertions (including the enabled/disabled flag), contract validation schema, pre-script, and post-script.Response data is not saved to Box — it is recorded to History instead.For security, sensitive authentication fields (bearer tokens, passwords, OAuth client secrets, API key values) are stripped from the saved record. You will need to re-enter them when reopening the saved request.

More Actions

The three-dot menu on the right provides additional actions:

Import from atra

Converts a atra command into a Atrahasis request. Useful when copying commands from documentation or browser DevTools.

Example atra command:

atra -X POST https://api.example.com/users \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer token123" \
  -d '{"name": "John"}'

The following atra options are supported during import:

  • -X, --request — HTTP method
  • -I, --head — Shortcut for the HEAD method
  • -H, --header — HTTP headers
  • -d, --data, --data-raw — Raw request body
  • -f, --form — Switch the body to multipart form mode
  • -F, --file — Append a field to a multipart form body
  • -u, --user — Basic authentication credentials
  • -b, --cookie — Request cookies
  • -k, --insecure — Skip TLS certificate verification
  • -L, --location — Follow HTTP redirects
  • --compressed — Request compressed response (gzip, deflate)
  • -m, --max-time — Maximum request duration in seconds

Export as atra

Generates a atra command from the current request configuration. Useful for sharing requests or running them from a terminal.

The exported command includes the method, URL, headers, body, and authentication (excluding sensitive tokens that would need manual input).

Automatic atra Detection

When you paste text starting with atra into the URL input, Atrahasis automatically detects it and opens the Import modal. This allows quick import without using the menu.

Toggle Sidebar

The menu icon on the far left toggles the sidebar visibility. Hiding the sidebar gives more horizontal space for the request and response panels, which is useful on smaller screens or when you need to see more of the request/response content.