Appearance
Send a request and read the response
When you send a request, Collapy fills in your variables and auth, makes the HTTP call and shows the result in the RESPONSE panel. Every send is also recorded in your workspace's execution history.
Send a request
Open a request and do one of these:
| Action | How |
|---|---|
| Send | Click Send (right of the URL bar), or press Ctrl+Enter (Cmd+Enter on macOS). |
| Send and copy the response | Press Ctrl+Shift+Enter (Cmd+Shift+Enter on macOS). When the response arrives, its body is copied to your clipboard and Copied Response appears. |
While the request is in flight, the button shows Sending and you can't send it again until it finishes. The RESPONSE panel opens automatically.
Send uses what's currently in the editor, including changes you haven't saved yet.
The URL bar
The URL bar holds, from left to right: the method (click it to change it), the active environment (a dot in the colour of its type and its name, or No environment; click it to switch, or choose Create environment), the URL, and Send.
{{variables}}show as highlighted names while you're not typing in the URL. A variable the active environment doesn't define is shown in red, and a message under the bar names it, for exampletoken isn't defined in Staging., with Define…, which lets you add it on the spot. See Define a variable where you use it.:pathvariables are highlighted in a second colour.- Under the bar, the line starting with
→shows the URL with every variable filled in and the enabled query parameters added. Secret values are masked. - Copy as cURL (on that line) copies a
curlcommand for the request — method, URL, headers, auth and body, prepared the same way Send prepares them. Secret variables stay as{{name}}placeholders, so the command never contains a secret.
Web app
Requests from the web app are sent through Collapy's cloud, so they count toward your organization's monthly cloud executions. See Usage and quotas.
Desktop app
Requests go straight from your computer. They don't count toward your monthly cloud executions and aren't blocked by the monthly quota or the per-minute limit. They're still recorded in execution history. See Web and desktop.
Sending to a production environment
If the selected environment's type is Production, Collapy asks before sending. The Sending to Production dialog has:
- Don't ask again while this environment is selected — tick it to stop asking in this request tab while this environment is selected. Closing the tab resets it.
- Cancel — don't send.
- Send Anyway — send the request.
See Environments.
Missing variables
Before sending, Collapy checks that every {{variable}} in the request can be filled in. If one isn't defined, the request isn't sent and nothing is recorded. The RESPONSE panel says which variables are missing, for example Can't send yet — token and pageSize aren't defined., with a Define token… link that opens the same form as Define… in the URL bar. Define the variable, fix its spelling, or switch to the right environment, then send again.
Secret variables are filled in by Collapy's cloud at send time, so they don't block the check. See Variables and Secret variables.
The RESPONSE panel
Before anything has been sent, the panel shows No response yet. It always shows the latest response for the active request tab. If you switch to a tab that isn't a request, the last response stays visible.
The panel's header shows the state next to RESPONSE: Sending with the elapsed time (and a thin bar under the header) while the request runs. When the response arrives, it shows the status code and text (for example 200 OK, coloured by status class), how long the request took, the response size, when it was sent and in which environment. If the request never got a response, it shows Not sent, and the Body tab explains what went wrong.
On the right of the header, the call switcher shows which execution you're looking at: Latest call for the newest one, otherwise when it was sent. Use ‹ and › to step to the previous or next execution of this request, or open the list to pick one of the last 25 — each shows its status, when it ran, the environment, who sent it and how long it took. All executions… at the bottom opens the request's Executions tab.
Below the header are these tabs:
| Tab | What it shows |
|---|---|
| Body | The response body. |
| Headers | Response headers, with a count. |
| Request | What was sent: the method and final URL with its query, the headers — including the auth header and the body's Content-Type that Collapy adds — the query parameters and the body. Copy as cURL copies that request as a curl command. |
| Timing | A timing breakdown of the request, then details about this execution. |
The Request tab shows the request after variables were filled in, so you can see what went out. Secret values aren't shown there — you see the {{name}} placeholder instead. Credentials typed into the auth or into headers such as Authorization show as redacted with a lock, and the auth header says where it came from (for example redacted · API key), but the request was sent with the real values. Copy as cURL copies the redacted values too. See Execution history.
Body
- JSON responses get Pretty and Raw buttons. Pretty indents the JSON; Raw shows it exactly as received.
- Press
Ctrl+F(Cmd+Fon macOS) or click the search button to find text in the body. If the request's Body tab is open too, pressingCtrl+Fagain moves the search between the response and the request body. - An empty response shows No response body.
Right-click anywhere in a JSON body for:
| Menu item | What it does |
|---|---|
| Copy | Copies the word or value under the cursor. |
| Copy value | Copies the JSON value under the cursor. Available for strings, numbers, booleans and null. |
| Copy path | Copies the path to that value, for example data.items[0].id. |
| Add to watchers | Adds the value to this request's watchers, so you can track it across sends. |
If a copied value contains one of your secret values, Collapy warns you with Copied — value contains a secret.
Watchers have their own panel on the right of the response: click Show watchers in the RESPONSE panel header to open it. Drag its edge to resize it. On a phone, Response and Watchers are two tabs at the top of the panel.
Timing
The Timing tab splits the request time into phases:
| Phase | What it covers |
|---|---|
| Preparation | Getting the request ready before connecting. |
| Connection | Looking up the host and opening the connection, including TLS. |
| Waiting (TTFB) | Sending the request and waiting for the first byte of the response. |
| Download | Receiving the response body. |
| Process | Reading the response and its headers. |
On the web app the times are measured from Collapy's cloud, where the request is actually made, not from your browser. Older executions have no phase breakdown.
Below the phases are the execution's details:
| Field | Meaning |
|---|---|
| Called | When the request was sent, to the second, and who sent it. |
| Environment | The environment it was sent with, or No environment. |
| Size | Size of the response body, also in bytes. |
| Call ID | The execution's unique ID. |
| Error | The error message, for executions that got no response. |
When a request fails
If no response arrives, the Body tab explains what went wrong. For common network problems you see a short hint, with Show details for the full error:
| Hint | What it usually means |
|---|---|
The host name could not be resolved. Check the URL for typos. | The host name is misspelled or doesn't exist. In the web app, Show details reads Could not resolve host <name>. |
The server refused the connection on this port. | Nothing is listening at that address and port, or a firewall is blocking it. |
TLS handshake failed. The certificate may be invalid or expired. | The server's HTTPS certificate isn't trusted, has expired or doesn't match the host name. |
Network request failed. | Another network problem. Open Show details for the full error. |
Desktop app
The desktop app can also show this hint:
| Hint | What it usually means |
|---|---|
The server didn't respond in time. Check that it's running and reachable. | The connection couldn't be opened within 30 seconds. Check that the server is up and that your network can reach it. |
The web app can also report these errors from Collapy's cloud:
| Error | What it means |
|---|---|
Too many requests | You've sent 60 requests in the last minute. Wait a moment and try again. The refused send isn't recorded in execution history. See Web and desktop. |
Monthly execution quota exceeded | Your organization has used its cloud executions for this month. The refused send isn't recorded. See Plans and limits. |
Requests to private, local or cloud metadata addresses are not allowed | On the web, the host points to a blocked address: localhost/loopback, a private network range such as 192.168.x.x or 10.x.x.x, or a cloud metadata address such as 169.254.169.254. |
Invalid request format | Something in the request couldn't be read, such as malformed auth values. |
Web app
Requests are made from Collapy's cloud, not from your computer. APIs that only your computer or private network can reach — such as http://localhost:3000 or an internal company host — can't be reached from the web app. Very slow endpoints can also hit the cloud's time limit.
FAQ
Why is my Authorization header shown as redacted?
Credentials are redacted when an execution is stored, so teammates never see them. The Request tab still lists the header and where it came from — the request was sent with the real value.
Can I send a request without saving it first?
Yes, as long as it has been created. Send uses your current edits.
