Using CURL to post form data to a webpage [closed]
I need to post one attribute value present in a form to server using curl.
<form action="process.php" method="post">
<input tupe="text" name="userName" />
</form>.
Now I want to post this form to the server. How can I achive it using curl.
you can use the option "-d" for posting data.
curl -d "userName=narendra" http://example.com/process.php
精彩评论