You can create a Redirect Request rule in the Requestly HTTP Interceptor to route specific JS file requests from the production URL to your local server.
How can we help?
Popular searches Local testing Invoice
Get real-time help from our community of 8000+ members
How do I redirect JS from production to local?
Did this answer your question?
What did you like?
We're sorry to hear that.
Thank you for your feedback.
Related articles
- How do I map a response from a local file?
- Will these modifications affect the actual production site?
- Can I use the Requestly HTTP Interceptor in my existing automation test workflow?
- What HTTP modifications does the Requestly HTTP Interceptor provide?
- How do I bypass CORS restrictions using the Requestly HTTP Interceptor?
- How do I override/mock an API response?
- How do I inject custom JS on a website?