Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replay HTTP POST in google chrome Developer

Im switching from firebug to Google Chrome developer tools. I like it so far, but one feature that I really missing is replaying a http post.

on firebug, I can right click on the request (on the net or console tab), "open in new tab" and replay that request. When I try the same thing on google chrome, it did not sent it as POST instead as a GET so the parameter did not sent to the server

Is there any way i can do this in chrome?

like image 273
ahmy Avatar asked Dec 03 '11 15:12

ahmy


People also ask

How do I replay a XHR in Chrome?

Right click on the request made and click "Replay XHR".


1 Answers

Update:

Yes, it is possible in the latest version of Google Chrome.
Just right click on the request and select Replay XHR.

Another way as others pointed out is to:

  1. Right click request > "Copy" > "Copy ss curl". Paste it to shell. or
  2. Right click request > "Copy" > "Copy as fetch". Paste it to the console tab

There's currently no way to do this, but please star this bug to track progress on this front.

like image 178
Boris Smus Avatar answered Sep 22 '22 23:09

Boris Smus