HTTP Client
A lightweight HTTP client for VS Code that opens directly as a full editor tab. Make REST API requests without leaving your development environment.
Features
✨ Clean Interface - Full-width editor panel with split view for requests and responses
🚀 Quick Access - Open with Ctrl+Alt+H (Windows/Linux) or Cmd+Alt+H (Mac)
📝 Smart Editor - Auto-complete for HTTP headers, intelligent bracket pairing, and automatic indentation
🔍 Response Viewer - View status codes, headers, formatted JSON responses, cookies, and request timing
💾 History & Saved Requests - Automatically tracks request history and lets you save frequently-used requests
🌐 Environment Variables - Define reusable variables for headers and request bodies
Usage
- Open the HTTP Client with
Ctrl+Alt+H or search for "HTTP Client: Open" in the Command Palette
- Enter your API endpoint in the URL field
- Select the HTTP method (GET, POST, PUT, DELETE, etc.)
- Add headers with auto-complete suggestions
- Add a request body for POST/PUT/PATCH requests
- Click "Send" or press
Ctrl+Enter to execute the request
- View the formatted response on the right panel
Keyboard Shortcuts
Ctrl+Alt+H / Cmd+Alt+H - Open HTTP Client
Ctrl+Enter / Cmd+Enter - Send request
Tab - Navigate between fields or accept autocomplete
↑/↓ - Navigate autocomplete suggestions
Enter - Select autocomplete suggestion
Request Features
- Headers: Type to get autocomplete suggestions for common headers (Authorization, Content-Type, etc.)
- Body: Smart JSON editing with auto-bracket pairing, indentation, and formatting
- Variables: Define environment variables (e.g.,
{{API_KEY}}) for reuse across requests
Response Features
- Body - Formatted JSON with syntax highlighting
- Headers - View all response headers
- Stats - Request duration and response size
- History - Browse and replay previous requests
Requirements
- VS Code version 1.80.0 or higher
License
MIT
Feedback
Found a bug or have a feature request? Please open an issue on the repository.