Before using curl you may have to install it
sudo apt-get install curl
curl --form "fileupload=@testfile.txt" http://demosite.com/resource.ph
curl --data "param1=value1&
curl -X POST -d @testfilehttp://demosite.com/path/to/resource --header "Content-Type:t
curl -X POST -d @testfile.txthttp://demosite.com/path/to/resource --header "Content-Type:a
No comments:
Post a Comment