Requestly - HTTP Interceptor for VS CodeIntercept, modify, and mock HTTP requests & responses directly from VS Code. A powerful alternative to browser extensions for API debugging and testing. Features🔀 Redirect URLsRedirect requests to different URLs - useful for testing against different environments or mapping remote resources to local files. 🚫 Block RequestsBlock specific requests from being made - great for testing error handling or removing unwanted resources. 📋 Modify HeadersAdd, modify, or remove HTTP request and response headers. ❓ Query ParametersModify URL query parameters on the fly. 📤 Mock ResponsesReturn custom API responses without making actual requests - perfect for frontend development without a backend. 📥 Modify Request BodyModify outgoing request payloads. 📜 Inject ScriptsInject custom JavaScript or CSS into web pages. ⏱️ Delay RequestsAdd artificial latency to simulate slow networks. 🖥️ User Agent OverrideChange the User-Agent header to simulate different browsers or devices. Usage
Commands
Configuration
Import/ExportRules can be exported to JSON files for backup or sharing with team members. The export includes both rules and groups. ContributingThis extension is based on Requestly, an open-source HTTP interceptor. LicenseMIT |