How can I debug a HTTP POST in Chrome?

前端 未结 6 594
花落未央
花落未央 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:45

    1. Go to Chrome Developer Tools (Chrome Menu -> More Tools -> Developer Tools)
    2. Choose "Network" tab
    3. Refresh the page you're on
    4. You'll get list of http queries that happened, while the network console was on. Select one of them in the left
    5. Choose "Headers" tab

    Voila!

提交回复
热议问题