How do I include special characters like @ and & in the cURL POST data? I\'m trying to pass a name and password like:
curl -d name=john passwd=@31&3*
cURL > 7.18.0 has an option --data-urlencode which solves this problem. Using this, I can simply send a POST request as
curl -d name=john --data-urlencode passwd=@31&3*J https://www.mysite.com