Skip to content

REST Client for VS Code

We use the REST Client VS Code extension to test API endpoints.

Setup

  1. Install the extension: humao.rest-client
  2. HTTP request files are in the http/ folder
  3. Environments are configured in .vscode/settings.json

Each endpoint should have a corresponding .http file to simplify local testing.

Usage

  1. Open any .http file
  2. Select environment: Cmd+Alt+E (macOS) / Ctrl+Alt+E (Windows/Linux)
  3. Click "Send Request" above any request

The {{baseUrl}} variable resolves to the selected environment's URL.