Edit and play XHR chrome / firefox etc?

I was looking for a way to modify the XHR request made in my browser and then play it again. Say I have a full POST request made in my browser, and the only thing I want to change is a small value, and then play it again. This would be much simpler and faster to do directly in the browser.

I worked a little with Google and did not find a way to do this in Chrome or Firefox. Is there a way to do this in any of these browsers, or perhaps in another?

+48
browser firefox google-chrome
Feb 27 '15 at 22:03
source share
2 answers

Chrome:

One way to do this in Chrome is to copy the request as cURL in the "Network" panel of the developer tools and play it with your changes in the terminal, if you have the curl command. See Capture:

enter image description here

If you are looking for an all-in-browser workflow, you can install an extension called "Devtools terminal" that will embed your local terminal in the browser.

Firefox:

Firefox has a built-in. You can make your changes and send XHR directly from the Network panel. The bottom capture is taken from Firefox 36:

enter image description here

+66
Feb 27 '15 at
source share

My two suggestions:

+11
Sep 26 '15 at
source share



All Articles