I want to post some data (leaving comment on a post) to an asp.net website using PHP cURL.
But it always failed.
Not sure if I missed any form data.
So I want to know what kind of tools/software can check what form data are posted to a web page? I guess I may have missed some fields.
thanks in advance
You can use firebug on Firefox or Chrome Developer Tools for Google Chrome for this type of operation.
For Chrome :
Example for StackOverflow : open the developers tools, go to network, then enter a search in the box on the upper right and you see the first line being “search” with a method GET. Click on it and you see the parameter
qwith the value you searchedEdit : A lot of form come with a hidden input field with a unique code generated on the server that must be provided when submitting, I guess you are missing this info when submitting with curl. You can check the form element in the developer tool to see if there is a hidden field or not too.