use CURL for testing form inputs

Instead of creating a special html form to test inputs, you can use CURL to do it for you through command line. You will be saving time.
ex:
curl -F “email=test@test.com” -F “password=test” http://127.0.0.1/~folder/mypics/register.php
in the above example i have two parameters, email and password.
if it was a form, i would have two text inputs with the above names.
This will help you to test faster and also develop faster.

Leave a Reply

Your email address will not be published. Required fields are marked *