Paul
Paul

Reputation: 3582

How do I capture/view the post-request generated by my browser on submission of a form?

So the system I'm working on is using a complicated process to generate and display HTML forms, and an even more complicated process to handle these forms once submitted.

I want to be able to cut through the abstraction and just view, in plain text, the post-request that is generated by my browser when I hit 'Submit' on the form - the headers, the payload, everything - How can I do this? If there's a tool to make it easier to pick through, all the better, but if I can just get it in plain text that's fine too!

I realize this might seem like a very basic question, but I've actually never needed it before.

Thanks!

Upvotes: 2

Views: 1739

Answers (1)

Farhan Chauhan
Farhan Chauhan

Reputation: 585

If you are using chrome hit F12 before submitting form, then go to network tab -> Check Preserve log checkbox, and then hit the submit button, you can see the detail of your post request

Upvotes: 5

Related Questions