Getting Started
Introduction
Installation
API Client
Overview
Make an API Request
Replay request from History
Import from cURL
Inspect Traffic
Overview
Filtering Traffic
Save Session
View Request/Response Details
HTTP Rules (Modify Traffic)
Overview
Redirect URL (Map Local, Map Remote)
Replace Strings (Switch Hosts, API Endpoints)
Modify Headers
Modify Request Body
Modify Response Body
Modify Query Params
Modify Cookies
Modify DOM/Inject scripts
Modify User Agents
Delay Request
Cancel Rule
Organizing Rules
Import/Export Rules from File
Pause/Resume Requestly
Rule Operators
Advance Targeting
Sharing Rules
Map Local
Map Remote
Pinning Rules
GraphQL Support
Edit and Replay
Import Setting from Charles Proxy
Test URL Condition
Mock Server
Overview
Create New Mock API
Test Mock API
Pre-Configured Mocks
File Server
Overview
Create New Mock File
Sessions
Overview
Cancel Rule
Cancel Rule is primarily used for blocking requests to avoid distraction.

- Source Condition: Source condition is where you set criteria for the rules. You can use
URL
, Host
or Path
with Regex
, Contains
, Wildcard
or Equals
to match the source request. Learn more about source conditions here.
- Source Filters : You can define better targeting conditions and restrict rules to be applied on specific webpages (or domains), request types, request methods, or request payload. Learn more about source filters here.
Popular Use Cases
- Blocking Websites — You can use Cancel Rule to avoid distraction by blocking websites e.g. youtube, twitter, facebook.
- Testing error scenarios - Test your app when certain resource is not loaded. You can use Cancel rule to block a certain request which is not mandatory in your app and test how your app behaves without that specific resource.