URL Masking vs Redirection Test

๐Ÿ”ด Redirect Mode (Traditional)

How it works: Browser URL bar changes to show the new destination

Original URL: https://api.example.com/data
Browser shows: https://api.alternative.com/data

Use case: When you want users to see they're being redirected

๐ŸŸข Masking Mode (Transparent Proxy)

How it works: Browser URL bar shows original URL, but request goes to proxy server

Original URL: https://api.example.com/data
Browser shows: https://api.example.com/data
Actual request goes to: https://api.alternative.com/data
Headers include: X-Proxy-Original-Host: api.example.com

Use case: Transparent proxying without changing visible URLs

๐Ÿ“‹ Setup Instructions

  1. For Redirect Mode:
    • Add rule: Pattern httpbin\.org โ†’ Redirect postman-echo.com
    • Leave "Mask URL" checkbox unchecked
    • Leave "URL Masking Mode" unchecked
  2. For Masking Mode:
    • Add rule: Pattern httpbin\.org โ†’ Redirect postman-echo.com
    • Check "Mask URL" checkbox for the rule, OR
    • Check "URL Masking Mode" for global masking

๐Ÿ”ง Server Requirements for Masking

Your proxy server needs to: