Overview

Rules allows you to define conditions that, when met, trigger a certain action. With Requestly, you can take complete control over the HTTP requests that flow through your browser.

Rule Types

  • Redirect Rule: Redirect scripts, APIs, Stylesheets, or any other resource from one environment to another.

  • Replace Rule: Replace parts of URL like hostname, query valueReplace parts of URL like hostname, query value.

  • Query Param Rule: Add or Remove Query Parameters.

  • Header Rule: Modify HTTP request & response headers.

  • Response Rule: Override API responses with static data or programmatically.

  • Request Rule: Override API request body with static data or programmatically modify existing request payload.

  • Inject Script Rule: Inject Custom JavaScript (JS) or Styles (CSS) to any website.

  • Delay Rule: Introduce latency or delay to the response from specific URLs.

  • Cancel Rule: Block network requests or entire websites to avoid distraction.

  • User Agent Rule: Emulate website behaviour on different devices/browsers.

Updated on