Five ways to send someone an API request

"Can you send me that request?" sounds simple until you ask who's asking. A teammate wants it in the app. A vendor's support wants curl. A partner without an account wants to try it. Each needs a different form, and each form exposes different things.

Copy link in the request header copies a link to that request in the app. A teammate in the same workspace opens it and lands on the request, with their own environment and credentials. Nothing is copied: you both look at the same request, and any change is visible to both.

Someone outside the workspace gets an access error. That's the point.

Anyone with a terminal: curl

The code snippet panel shows the request as curl (and in 11 other languages); from a terminal, requestarium snippet "Get order" --lang curl. Variables are resolved for the selected environment. The CLI shows secret values as ••••••; whichever you use, check the snippet for tokens before you paste it anywhere, and let the person fill in their own credentials.

Good for vendor support tickets, Stack Overflow questions and bug reports: everyone can read curl. See generate code from an API request.

For a whole folder, requestarium export … --format curl writes a script. See export a folder as a curl script.

Someone on another API client: a file

Export as… on a request or folder writes a file for Postman (v2.1), Insomnia, Bruno, Thunder Client, HAR or .http files. For another Requestarium user in a different organization or on another server, Requestarium JSON keeps everything, including scripts and tests. See export to Postman, Insomnia or Bruno.

Files are copies: they don't update when you change the request. Check them for pasted credentials before sending; requests that use secret {{variables}} export with the placeholder, not the value.

Share in a request's ⋯ menu creates a public link to a read-only page where anyone can see the request and run it, filling in variables in their browser. Saved secrets are hidden and scripts don't run. The request is sent from Requestarium's servers, so it only works for public hosts, not localhost.

Use it for partners trying one endpoint, or as an embed in your developer docs.

Someone who should understand the API: docs

For more than one request, Share docs on a collection's Overview publishes a read-only page with every request, its docs, URL and headers, with credentials masked. See share API documentation with a link. For Confluence users, publish it there.

What not to send

  • A screenshot. Nobody can copy a header from a PNG.
  • A HAR file. It holds every cookie and token of the session. If you recorded one, import it yourself and send a cleaned request instead.
  • Your token "for a quick test". Send the request with a placeholder, and let them use their own.