Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to repeat a POST request using Chrome's developer tools?

Not sure if this is the right stack exchange to ask this, but here goes...

I'm trying to wean myself off of Firebug, which has served me very well for a lot of years. One feature that seems to be missing in Chrome's dev tools is the ability to repeat an AJAX POST. In firebug I can right click on the request in the console and hit "Open in new tab" and the request is repeated exactly as it was originally sent. In Chrome, the same action just does a normal GET on the link, without any of the post data.

Is there any way to repeat an AJAX POST in Chrome's dev tools?

like image 820
Luke The Obscure Avatar asked Sep 13 '12 17:09

Luke The Obscure


People also ask

How do you repeat a post on Google Chrome?

Just right click on the request and select Replay XHR. Another way as others pointed out is to: Right click request > "Copy" > "Copy ss curl". Paste it to shell. or.

How do I copy HTTP requests in Chrome?

Follow these steps to copy HTTP requests as PowerShell: Open DevTools in Chrome or Edge by pressing 'F12' or using the options menu > More Tools > Developer Tools. Switch to the Network tab. Manually go through your application so the DevTools will record your HTTP requests.

How do I replay a XHR request?

If you wish to re-run an XHR request without having to reload the page or rerun the event, you can right click on the resource and and select "Replay XHR" ("Resend" in Firebug).


1 Answers

No. There is an open bug report requesting that feature, though.

Issue 107006: Feature request: ability to replay a previously made request (esp. XHR)

like image 107
jimp Avatar answered Oct 15 '22 23:10

jimp