In this command:curl -d param1=value1 -d param2=value2 http://example.com/submitIf value1 is located in file1.txt, how can I make cURL include file1.txt in the command?
Command-line cURL submit form from other files
curl
Something like this should do the trick: curl -d param=$(cat file1.txt) ...