You can create a Modify API Response rule in the Requestly HTTP Interceptor to define a custom response body, status code, and headers that mock API responses.
How can we help?
Popular searches Local testing Invoice
Get real-time help from our community of 8000+ members
How do I override/mock an API response?
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 redirect JS from production to local?
- How do I bypass CORS restrictions using the Requestly HTTP Interceptor?
- How do I inject custom JS on a website?