How would I find the POST parameters of a website using google chrome? How would I find the POST parameters of a website using google chrome? google-chrome google-chrome

How would I find the POST parameters of a website using google chrome?


The previous answer covers this pretty well, but I just wanted to clarify to make sure we answered everything you need, since you mentioned that other questions didn't.

After making a POST request, such as logging in to Yahoo in my example below, in the Network tab you can see the request URL. You can find your POST parameters in the Form Data section, and it's laid out nicely as per below:

Network Request

Notice, for example, the username parameter has value 'myemail@test.com', matching the content in the username form field I submitted. Other parameters are hidden fields for state, timezone, etc.

You can also view this information and some more detail by exporting the HTTP Archive (HAR):

Network Export HAR

You can open it up in a text editor and view the full data in a JSON format, which can consequently be imported into apps like PostMan

HAR


  1. Open Inspector Tool (press F12 or Ctrl+Shift+I or right click -> inspector).
  2. Click on the "Network" tab.
  3. Refresh the page. The inspector shows the list of the resources called. For each resources, the inspector records the http request and the http response.
  4. Click on the resource that you want inspect and read the request (click on the headers tab to the left of the resources list). You can see the request headers, the form data and the query string parameters.enter image description here