Edit and replay XHR chrome/firefox etc?

Edit and replay XHR chrome/firefox etc?

 

Chrome :

  • In the Network panel of devtools, right-click and select Copy as cURL
  • Paste / Edit the request, and then send it from a terminal, assuming you have the curl command

See capture :

 

 Alternatively, and in case you need to send the request in the context of a webpage, select "Copy as fetch" and edit-send the content from the javascript console panel.

 

 

Firefox :

Firefox allows to edit and resend XHR right from the Network panel. Capture below is from Firefox 36:

 

posted @ 2021-08-02 18:25  ChuckLu  阅读(166)  评论(0编辑  收藏  举报