How can I debug a HTTP POST in Chrome?

前端 未结 6 461
花落未央
花落未央 2020-11-22 13:58

I would like to view 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

6条回答
  •  太阳男子
    2020-11-22 14:32

    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.

    1. Using your Firefox, navigate to the website which you want to get your post request to it.

    2. In your Firefox menu Tools->Live Http Headers

    3. 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.

    4. In the website, do an activity(log in, submit a form, etc.)

    5. Look at your plug in window. It is all recorded.

    Just remember you need to check the Capture.

提交回复
热议问题