You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
120 B

#
url="$1"
file="$2"
sed -e 's/$/%0a/g' $file > $file.post
curl -s -X POST "$url" --data @$file.post
exit $?;
true;