StoicBuilder

HandbookV the OfficinaHTTP clients

Vthe Officina, Use the tools

HTTP clients

1 min readUpdated 28 November

In plain words

An HTTP client, such as 1DevTool, Bruno, Insomnia or Postman, sends requests you write by hand, so you can test an API without going through your app's screens.

Where you see it

A window with a method dropdown, an address bar and a Send button, with tabs below for Params, Headers, Auth and Body. The reply appears underneath with its status code, time and body: the same parts you'd see in the Network tab.

requests/orders.httpconfig
### Place a test orderPOST {{baseUrl}}/api/ordersContent-Type: application/jsonAuthorization: Bearer {{token}} { "restaurantId": 7, "items": [{ "id": 12, "quantity": 2 }] }
The request your checkout sends, written out so you can change one thing at a time and press Send.

What goes wrong

  1. Asking the agent to fix the page when the API is wrong

    When the orders list is empty, send the same request from an HTTP client. If the reply is empty there too, the page is fine and the server needs the fix.

  2. Saving live tokens into a shared collection

    Some clients sync collections to the cloud or save them as files in your repo, tokens included. Keep tokens in secret or local-only variables, and check what your team can see.

  3. Testing against the live site

    A POST sent to the production API places a real order, sends a real email or charges a real card. Point the client at local or staging unless you mean it.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Turn each API route this feature uses into a request I can paste into an HTTP client: method, full address, headers and an example body, with tokens as {{token}} placeholders. Add what a successful reply should look like for each.

Quick check

Sign in to earn +10 XP for it

Harbor's deployments page shows nothing. You send GET /api/deployments from an HTTP client with your token and get back a full list. Where's the bug?

Got a prompt that touches HTTP clients?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.