CaliberHTTP Documentation

Get started in under 30 seconds—no login, no cloud sync, and full compatibility with plain-text .http files.

1. 30-Second Quickstart

  1. Install CaliberHTTP from the VS Code Marketplace, Open VSX, or download the .vsix directly from GitHub Releases (v1.0.0).
  2. Click the CaliberHTTP icon in the Activity Bar.
  3. If your workspace already contains .http or .rest files, they appear automatically. Otherwise click Create Starter Collection (api.http).
  4. Click ▶ Send Request above any request block—or ◫ Open in Studio for the split visual editor.

2. .http Syntax Reference

### Create User
@name createUser
@base = https://httpbin.org

POST {{base}}/post
Content-Type: application/json
X-Trace-Id: {{$uuid}}

{
  "createdAt": "{{$timestamp}}",
  "role": "developer"
}

@assert status == 200
@assert latency < 1000
@assert body.$.json.role == "developer"

3. Environments & Dynamic Variables

Place a caliber.env.json or .env file in your workspace root and switch active environments from the top Studio bar or status bar:

{
  "dev": { "baseUrl": "http://127.0.0.1:3000" },
  "staging": { "baseUrl": "https://staging.api.example.com" }
}

Built-in dynamic variables: {{$uuid}} and {{$timestamp}}.

4. Pro Features Guide

5. Polar.sh License Activation & 14-Day Offline Grace

  1. Purchase a Pro license via Polar.sh ($19 Early Bird / $24 Standard One-Time / $5/mo).
  2. In VS Code, run command CaliberHTTP: Activate Pro License and paste your key.
  3. Your key is stored in VS Code's OS-Keychain-backed SecretStorage. Cached validations remain valid for 72 hours without network calls, with a 14-day offline grace period if you are offline.
  4. Run CaliberHTTP: Deactivate License anytime to free a machine seat (up to 3 personal machines).