WSO2 HTTP ClientOpen, edit, and execute Each HTTP request in a Features
Getting Started1. Open a
|
| Command | Description |
|---|---|
HTTP Client: Open Hurl Notebook |
Open a .hurl file as a notebook (also available via right-click in Explorer) |
HTTP Client: Install Hurl |
Manually trigger the managed hurl binary download |
HTTP Client: Import Hurl String |
Create a notebook from a pasted hurl string (prompts for input if called from the Command Palette) |
Configuration
| Setting | Default | Description |
|---|---|---|
http-client.hurl.path |
"" |
Absolute path to a custom hurl executable. If empty, the managed install or PATH is used. |
http-client.hurl.autoInstall |
true |
Automatically download and install a managed hurl binary when no binary is found. |
http-client.hurl.version |
"7.1.0" |
The managed hurl version to install. |
Managed Hurl Binary
HTTP Client bundles its own hurl binary manager. On first use (or on activation when autoInstall is enabled), it:
- Checks
http-client.hurl.pathin settings — uses it if set. - Checks whether
hurlis available on your systemPATH— uses it if found. - Downloads the correct binary from the official Hurl GitHub releases for your platform and architecture, stores it in the extension's global storage directory, and reuses it across sessions.
Supported platforms:
| Platform | Architecture |
|---|---|
| macOS | Apple Silicon (arm64), Intel (x64) |
| Linux | x64, ARM64 |
| Windows | x64, ARM64 |
To pin a specific hurl version, set http-client.hurl.version in your VS Code settings and run HTTP Client: Install Hurl from the Command Palette.
File Format
HTTP Client reads and writes standard .hurl files. Markdown cells are stored as # md: comment blocks so they survive round-trips through the file without loss:
# md: ### Create a User
# md:
# md: **POST** `/users` — creates a new user in the system.
POST https://api.example.com/users
Content-Type: application/json
{
"name": "Alice"
}
Files with documentation cells remain valid hurl files and can be executed directly with the hurl CLI.
Requirements
- VS Code 1.100.0 or later
- Internet access for the initial hurl binary download (or point
http-client.hurl.pathto a local binary)