Use Requestarium in VS Code, Cursor and other VS Code editors

You're in VS Code, you just changed a handler, and you want to call it. Opening another app, finding the request, and checking the environment is the kind of friction that makes people paste curl commands into a terminal instead. The Requestarium extension brings your team's shared collections into the editor. It works in VS Code and in editors built on it, such as Cursor, VSCodium and Windsurf.

Sign in

Run Requestarium: Sign In from the command palette. VS Code opens the browser, you click Allow, and the browser hands a one-time code back to the editor (PKCE). If the browser doesn't bring you back, Requestarium: Enter Sign-in Code takes the code from the consent page. Requestarium: Paste API Token accepts a token from Settings ▸ API tokens in the app. Tokens are kept in VS Code's SecretStorage (the OS keychain), never in settings.json.

Collections in the sidebar

The sidebar shows the same collections and environments your team uses in the desktop and web app. You can:

  • open requests as tabs (restored when the window reloads);
  • create one with New Request… (Cmd/Ctrl+Alt+N), or New Request from URL on a selected URL;
  • find one with Go to Request… (Cmd/Ctrl+Alt+R) by name, folder path or URL;
  • drag requests and folders, duplicate them, and Copy Share Link…;
  • switch workspaces with Switch Workspace….

Edits are saved to the shared collection, so the request you fixed in the editor is fixed for everyone.

Sending

HTTP and GraphQL requests go out from the extension host with Node's fetch. They use VS Code's proxy settings, and localhost, Docker and VPN targets work, because the request starts on your machine. GraphQL has schema introspection and autocomplete. gRPC (with server reflection or a .proto) and WebSocket are supported too.

The response area has a </> tab with code snippets: cURL, HTTPie, PowerShell, fetch, axios, Python requests, Go, Java, Kotlin OkHttp, C#, PHP and Ruby. {{variables}} stay as placeholders unless you tick Resolve variables.

Scripts, tests and the runner

Pre-request and post-response scripts use the same pm/cm API and chai-style expect as the app, with collection and folder scripts running in the same order. They run in an isolated worker with a 10-second limit and no access to the file system or network.

Run Collection/Folder… opens a runner tab with iterations, a delay and stop-on-failure. It starts only when you press Run, and Stop ends it before the next request.

A local .env file

Point requestarium.envFile at a .env file in your project. It's loaded on open and reloaded when it changes. Its values override the active environment, are shown masked, stay in memory, and are never sent to the backend. That's the right place for a personal token or a local database password. See Environments for local, staging and production.

Save as Environment… turns a .env file into shared environments when you want to: keys are split by prefix (LOCAL_HOST goes to a Local environment as host), and every value is saved as a secret.

Import and export

Import… reads Requestarium JSON, Postman (collections and environments), Insomnia, Thunder Client, Bruno, Hoppscotch, OpenAPI, HAR, .http files and files of curl commands. Paste cURL… is prefilled from the clipboard, which pairs well with Chrome's "Copy as cURL". Export to Requestarium JSON, OpenAPI 3, Postman, Insomnia, Bruno, HAR or cURL.

.http and .rest files in your project get a ▶ Send with Requestarium link above each request. More in Send .http files from VS Code.

History that follows you

The Activity tab lists the requests you sent. It keeps response previews on this machine, and the metadata (name, method, masked URL, status, timing) in your account, so requests sent from your other machine or from JetBrains show up too. See Request history across machines and IDEs.