Settings

Keyboard Shortcuts

ActionmacOSWindows/Linux
Open RexCmd+Shift+RCtrl+Shift+R
Send requestCmd+EnterCtrl+Enter
Save requestCmd+SCtrl+S

VS Code Commands

Rex registers two commands in the Command Palette (Cmd+Shift+P):

CommandDescription
Rex: Open API ClientOpen or reveal the main API client panel
Rex: New Request TabCreate a new request tab

Import

Rex can import requests from multiple formats. Open the import dialog and either paste content or upload a file — Rex auto-detects the format.

FormatDetails
Postman Collectionv2.1 format with full request, auth, and body support
OpenAPI / SwaggerOpenAPI 3.x and Swagger 2.0 (JSON & YAML)
HARHTTP Archive 1.2 format
cURLPaste a cURL command directly into the URL bar

Export

Export your data in multiple formats:

FormatScope
Postman CollectionAny collection
HAR 1.2Any collection or full history
cURLIndividual request
JSONIndividual request

Code Generation

Generate working code snippets from any request. Click the code generation button in the response panel toolbar.

Supported Languages

LanguageLibraries
JavaScriptNode.js http
Pythonrequests
ShellcURL

Generated snippets include authentication, headers, and body configuration. Copy to clipboard with one click.

API Documentation Viewer

Load an OpenAPI 3.x or Swagger 2.0 spec (from a file or URL) to browse API documentation inside Rex:

  • Endpoints organized by tag with search
  • Parameters, request body, and response schemas for each endpoint
  • Security requirements
  • Try it button pre-fills the request builder with the endpoint details

Storage

All Rex data is stored locally via VS Code’s extension globalState:

DataStorage
CollectionsSaved request collections
EnvironmentsEnvironment variable sets
ChainsRequest chain definitions
HistoryRequest history (capped at 50KB per response body)
TabsActive tab state and request configuration

Data persists across VS Code sessions and survives window reloads.

Privacy

  • All data stored locally in VS Code’s globalState
  • No external API calls except to endpoints you specify
  • No telemetry, analytics, or tracking
  • No account system or cloud storage