I would like to view the HTTP POST data that was sent in Chrome.
The data is in memory now, and I have the ability to resubmit the form.
I know that if I resubmit the server will throw an error, Is there anyway I can view the data that is in Chrome\'s memory?
Go to Chrome Developer Tools (Chrome Menu -> More Tools -> Developer Tools). Choose \"Network\" tab. Refresh the page you\'re on. You\'ll get list of http queries that happened, while the network console was on. Select one of them in the left. Choose \"Headers\" tab. Voila!
You can filter for HTTP POST requests with the Chrome DevTools. Just do the following:
- Open Chrome DevTools (
Cmd + Opt + I
on Mac, Ctrl + Shift + I
or F12
on
Windows) and click on the \"Network\" tab
- Click on the \"Filter\" icon
- Enter your filter method:
method:POST
- Select the request you want to debug
- View the details of the request you want to debug
Screenshot
Tested with Chrome Version 53.
You can use Canary version of Chrome to see request payload of POST requests.
The other people made very nice answers, but I would like to complete their work with an extra development tool. It is called Live HTTP Headers and you can install it into your Firefox, and in Chrome we have the same plug in like this.
Working with it is queit easy.
Using your Firefox, navigate to the website which you want to get your post request to it.
In your Firefox menu Tools->Live Http Headers
A new window pop ups for you, and all the http method details would be saved in this window for you. You don\'t need to do anything in this step.
In the website, do an activity(log in, submit a form, etc.)
Look at your plug in window. It is all recorded.
Just remember you need to check the Capture.
1.F12
2.Click \"Network\" Tab. EnsureCapture is start before Login
3.Start Login
- After Login. Stop Capture. Scroll Up. Click The First Link.
5.Scroll Down and you will see the POST Data