I suggest:
while read -r c1 c2 c3; do
curl --data "field1=$c1&field2=$c2&field3=$c3" http://webserver/resource.asp
done < file.csv
solved BASH – read lines and fetch column values using curl
I suggest:
while read -r c1 c2 c3; do
curl --data "field1=$c1&field2=$c2&field3=$c3" http://webserver/resource.asp
done < file.csv
solved BASH – read lines and fetch column values using curl