Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>reqs - HTTP InterceptorNew to Visual Studio Code? Get it now.
reqs - HTTP Interceptor

reqs - HTTP Interceptor

Akash Choudhary

|
25 installs
| (0) | Free
Intercept, modify, and mock HTTP requests & responses. Redirect URLs, modify headers, inject scripts, and more.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Requestly - HTTP Interceptor for VS Code

Intercept, modify, and mock HTTP requests & responses directly from VS Code. A powerful alternative to browser extensions for API debugging and testing.

Features

🔀 Redirect URLs

Redirect requests to different URLs - useful for testing against different environments or mapping remote resources to local files.

🚫 Block Requests

Block specific requests from being made - great for testing error handling or removing unwanted resources.

📋 Modify Headers

Add, modify, or remove HTTP request and response headers.

❓ Query Parameters

Modify URL query parameters on the fly.

📤 Mock Responses

Return custom API responses without making actual requests - perfect for frontend development without a backend.

📥 Modify Request Body

Modify outgoing request payloads.

📜 Inject Scripts

Inject custom JavaScript or CSS into web pages.

⏱️ Delay Requests

Add artificial latency to simulate slow networks.

🖥️ User Agent Override

Change the User-Agent header to simulate different browsers or devices.

Usage

  1. Open the Requestly panel from the activity bar (left sidebar)
  2. Click the + button to create a new rule
  3. Select the rule type and configure it
  4. Start the proxy server using the Start Proxy command
  5. Configure your application to use http://localhost:8899 as a proxy

Commands

Command Description
Requestly: Create Rule Create a new rule
Requestly: Start Proxy Server Start the HTTP interceptor
Requestly: Stop Proxy Server Stop the HTTP interceptor
Requestly: Import Rules Import rules from JSON file
Requestly: Export Rules Export rules to JSON file

Configuration

Setting Default Description
requestly.proxyPort 8899 Port for the proxy server
requestly.autoStartProxy false Auto-start proxy on extension activation
requestly.showStatusBarItem true Show proxy status in status bar

Import/Export

Rules can be exported to JSON files for backup or sharing with team members. The export includes both rules and groups.

Contributing

This extension is based on Requestly, an open-source HTTP interceptor.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft