> ## Documentation Index
> Fetch the complete documentation index at: https://requestly-mintlify-changelog-requestly-past-week-38456.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource Override

> Learn how to migrate your configurations from Resource Override Chrome Extension to Requestly

## **Import Resource Override Configurations**

Instead of manually setting up rules, you can quickly import your Resource Override configuration and apply them with a few simple steps.

<Steps>
  <Step title="Go to Developer Tools (DevTools)">
    Open your browser’s DevTools and navigate to the “Override” option.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/835b641d-14eb-455f-b1e9-ae6f95cccb78.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=f0393913f27870b9487e1bd7536eed81" align="center" fullwidth="false" width="3104" height="1974" data-path="images/resource-override/835b641d-14eb-455f-b1e9-ae6f95cccb78.png" />
  </Step>

  <Step title="Download Rule Configuration">
    Click on the “Options” menu and then click “Save Rule” to download your current rule configuration.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/085b2fe3-7616-4288-9b88-6e6b13582de7.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=756d66d03b40c9b0290f185e87968016" align="center" fullwidth="false" width="2880" height="1800" data-path="images/resource-override/085b2fe3-7616-4288-9b88-6e6b13582de7.png" />
  </Step>

  <Step title="Open Requestly Dashboard">
    Go to the Requestly dashboard and navigate to the **HTTP Rules** section.

    <Tip>
      For the web app, you can directly open <a target="_blank" href="https://app.requestly.io/import-settings-from-resource-override">`Import from Resource Override`</a>.
    </Tip>

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/ef06ed10-9a48-4bfc-832d-76c5b572871e.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=144129fdb3ead6fbac33a7e2bcaa44ae" align="center" fullwidth="false" width="3104" height="1974" data-path="images/resource-override/ef06ed10-9a48-4bfc-832d-76c5b572871e.png" />
  </Step>

  <Step title="Click on “Import” and select “Resource Override”">
    Click the **Import** button in the HTTP Rules section. Choose “Resource Override” from the available import options.

    <img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/d3375b7c-536a-4e67-8ea8-07d5d5ecc6af.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=44494b3d9cfb4d451f84e73cc5b782dd" align="center" fullwidth="false" width="3104" height="1974" data-path="images/resource-override/d3375b7c-536a-4e67-8ea8-07d5d5ecc6af.png" />
  </Step>

  <Step title="Upload Your Configuration and click Import">
    Upload the saved configuration file you downloaded earlier and click on the **Import rules** button, and your rules will be applied to your Requestly setup
  </Step>
</Steps>

Once you confirm, click on the **Import** button, and your rules will be applied to your Requestly setup.

## **Resource Override Features Comparison**

Learn more about equivalent features of Requestly that you were used in Resource Override.

### **URL → URL**

Every request URL is compared with the *Match URL* and is redirected to the *Replace URL* if the match is successful.

**Exact Match**

If your Resource Override configuration is with exact match without using any \* in it.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/fbf8b401-87d1-49d9-8990-ca8fee5e51f4.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=81d97bace43f505826dc098ad9f574d0" align="center" fullwidth="false" width="2400" height="696" data-path="images/resource-override/fbf8b401-87d1-49d9-8990-ca8fee5e51f4.png" />

This becomes a very straightforward setup in Requestly. Use the [Redirect Rule](/general/http-rules/rule-types/redirect-rule) with the "Equals" operator.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/536cdadb-a153-4a55-a1b9-1ab35b58271c.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=52bcf7f6d85ba79f8b487487ea08b01c" align="center" fullwidth="false" width="2400" height="1070" data-path="images/resource-override/536cdadb-a153-4a55-a1b9-1ab35b58271c.png" />

**Wildcard Match**

If your Resource Override configuration is a wildcard match with 1 \* in it.

In Requestly, Use the "Wildcard" operator and the substituted value should be replaced with `$1`, Alternatively, if you want to modify the request instead of redirecting it, you can use the <a target="_blank" href="/general/http-rules/rule-types/replace-strings">Replace Rule</a>. The matched portion of the URL can be replaced using `$1`

e.g. In Requestly, You will use HTTP Redirect Rule like

**Multiple Wildcard Operators**

If your Resource Override configuration is a wildcard match with multiple \*’s in it.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/1a75a7c3-f947-43c1-8c57-13a84f617794.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=a66702ca38dd92d81a71d15846ecb545" align="center" fullwidth="false" width="2400" height="696" data-path="images/resource-override/1a75a7c3-f947-43c1-8c57-13a84f617794.png" />

In Requestly, This becomes HTTP Redirect Rule with Wildcard Operator. Each star gets a number from left to right. You can use $\<number> like $1, \$2 where you want to use the matched values of \*’s.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/117bbd33-cf1a-4203-96ed-c606d63d3dbf.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=848d0ebbf940d0e86a0fe01dc5bb1a62" align="center" fullwidth="false" width="2400" height="1130" data-path="images/resource-override/117bbd33-cf1a-4203-96ed-c606d63d3dbf.png" />

### URL → File

When you want to load a file in place of the Matched URL.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/9b2bd712-a83b-4e55-ac36-fd183ee98475.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=9d5d58398b491e85392c28bcbd759e84" align="center" fullwidth="false" width="2400" height="816" data-path="images/resource-override/9b2bd712-a83b-4e55-ac36-fd183ee98475.png" />

In Requestly, you can use the **Redirect Request Rule** with **Redirects to** option as **Pick from Files/Mock Server** and then select the file/create a file that you want to load.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/07f033fd-22b3-49fa-9c57-d45e21e086ed.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=2d97d32d08df9865a783ea7de073f220" align="center" fullwidth="false" width="2400" height="1150" data-path="images/resource-override/07f033fd-22b3-49fa-9c57-d45e21e086ed.png" />

### Inject File

In Resource Override, you can select a file(JS/CSS) and inject that into a webpage.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/83f33f5c-20ee-4b83-9e53-76a97fc4d54d.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=531e6126be0f234ea143eba171f0f169" align="center" fullwidth="false" width="2400" height="816" data-path="images/resource-override/83f33f5c-20ee-4b83-9e53-76a97fc4d54d.png" />

In Requestly, you can use Inject Script Rule as below.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/5c302e15-3474-4f73-9b27-0271dbb26042.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=3af332840005d8976699f408b2a61d36" align="center" fullwidth="false" width="2400" height="1146" data-path="images/resource-override/5c302e15-3474-4f73-9b27-0271dbb26042.png" />

### Change Headers

In Resource Override, you can use Change Headers to update the Request or Response Headers.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/mXCJH8C7nLZtMWyJ/images/resource-override/71b8ec68-1966-410f-84ff-1968e11e58d9.png?fit=max&auto=format&n=mXCJH8C7nLZtMWyJ&q=85&s=74398908aededcc56633fa10428966bd" align="center" fullwidth="false" width="2400" height="816" data-path="images/resource-override/71b8ec68-1966-410f-84ff-1968e11e58d9.png" />

In Requestly, you can use the Modify Headers Rule and similarly configure the rule as below.

<img src="https://mintcdn.com/requestly-mintlify-changelog-requestly-past-week-38456/rg6w8VsJL0qhi9la/images/resource-override/589051b6-3f02-4885-b1c7-b98746596713.png?fit=max&auto=format&n=rg6w8VsJL0qhi9la&q=85&s=449134ab44785923b7e0ca16ed508236" align="center" fullwidth="false" width="2400" height="1146" data-path="images/resource-override/589051b6-3f02-4885-b1c7-b98746596713.png" />
