Overview

Learn how to customize HTTP requests, test traffic, and collaborate in workspaces with Requestly's powerful HTTP rules and advanced features.


Requestly's HTTP Rules offer a powerful suite of tools to customize, test, and manage HTTP(S) traffic. Whether you're a developer, tester, or QA professional, these rules provide an easy way to manipulate requests and responses. Below, you'll find an introduction to each HTTP Rule with links to detailed guides.

HTTP Rules

Modify Request Body

Adjust outgoing API request payloads to meet testing and development requirements. Add static or dynamic data to refine request structures. See details in the Modify Request Body guide.

Modify API Response

Simulate API responses to test scenarios and edge cases. Use static data or dynamic transformations to validate application behavior. Learn more in the Modify API Response guide.

Modify Headers

Add, remove, or modify HTTP headers for debugging and control. Get started with the Modify Headers guide.

Cancel Request Rule

Block specific network calls or simulate failure scenarios. Explore capabilities in the Cancel Request Rule guide.

Modify Query Params

Add, remove, or modify query parameters to refine API requests. Learn more in the Modify Query Params guide.

Modify User Agents

Test different browser and device environments by customizing User-Agent headers. Check out the Modify User Agents guide.

Redirect Request

Redirect requests to different URLs to switch environments or resources during development. The Redirect Request guide provides details.

Replace String Rule

Modify URLs or paths by replacing specific substrings. Learn more in the Replace String Rule guide.

Insert Script

Inject JavaScript or CSS into web pages for advanced customization. Get started with the Insert Script guide.

Delay Network Requests

Simulate real-world network latencies by introducing delays. Configure delays using the Delay Network Requests guide.

Map Local

Serve files from your local environment to test offline changes. Start mapping files in the Map Local guide.

Map Remote

Redirect requests to different servers or environments for advanced testing. Learn how in the Map Remote guide.


Advanced Options

Rules Grouping

Organize related rules into groups for better clarity and management. Learn more in the Rules Grouping guide.

Rules Pinning

Pinning rules in Requestly lets you quickly access and manage your rules from the Chrome toolbar, streamlining your workflow. Easily toggle rules on or off without opening the app. Learn more in the Pinning Rules guide

Source Conditions

Source conditions in Requestly allow you to define criteria for matching network requests, enabling precise rule application. These criteria include URL, host, or path matching, supporting advanced filters like resource type and HTTP methods. Learn more in the Source Conditions guide.

GraphQL Support

Modify GraphQL requests and responses for flexible API interactions. Check out the GraphQL Support guide.

Test this Rule

Test This Rule feature in the HTTP Rules section lets you validate rule configurations in real-time by applying them to a specific webpage or endpoint. Learn more in the Test This Rule guide.

Shared State

Enable advanced workflows by sharing data between rules. Learn more in the Shared State guide.

Pause/Resume Requestly

Pause and Resume in Requestly lets you temporarily disable its functionality to test your website's original behavior without interference. Learn more in the Pause and Resume guide.

Rules Status Syncing

Rules status syncing ensures consistent rule statuses across shared workspaces, automatically applying changes made by any member. Ideal for teams with non-technical roles, it guarantees universal configurations. Learn more in the Rules Status Syncing guide.


Rule Sharing

Share in Workspace

Share in Workspace feature allows you to easily share HTTP rules within workspaces, promoting real-time collaboration and consistency among team members. Learn more in the Share in Workspace guide.

SharedList

Distribute rule collections for use across teams or environments. Learn more in the SharedList guide.

Download

Export rules for offline use or transfer between systems. Find out how in the Download guide.

Updated on