Skip to content

File Operations

Reading request bodies from files, cross-file imports, response saving, and multipart uploads vary widely between clients.

Feature VS CodeJetBrainshttpyacVS 2022kulala
Body from external file (< filepath) ✓ ✓ ✓ ✗ ✓
File include with variable substitution (<@ filepath) JetBrains resolves variables by default; VS Code and httpyac require <@. ✓ ✓ ✓ ✗ ✓
File include with encoding (<@encoding filepath) ✓ ✗ ✗ ✗ ✗
Save response to file (>>) ✗ ✓ ✓ ✗ ✓
Overwrite response file (>>!) ✗ ✓ ✓ ✗ ✓
Response comparison reference (<>) Compare current response against a saved file. ✗ ✓ ✗ ✗ ✗
Multipart form data with boundary ✓ ✓ ✓ ✗ ✓
Import/run from other .http files JetBrains: import/run syntax. httpyac: @import/@ref. kulala: JetBrains-compatible. ✗ ✓ ✓ ✗ ✓
Widely Supported Supported by 3+ implementations, possibly with syntax variations.

Raw file includes (< filepath) and multipart form data work everywhere except Visual Studio 2022. Everything beyond that — variable substitution in included files, cross-file imports, run, response saving — is client-specific territory.

Syntax and details: File Operations in the specification.