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*
Try this:
export CURLNAME="john:@31&3*J" curl -d -u "${CURLNAME}" https://www.example.com