Curl Large File As Post Request
I have a number of ~10MB xml files on a local computer. For each file, I need to send it to a remote server for processing. The way I attempted to do this was by using curl to POST
Solution 1:
Use POST
curl -X POST -d @my_file.xml http://user:pass@myhost/
By default curl uses "GET" verb. You have to specify the HTTP verb using option -X
Post a Comment for "Curl Large File As Post Request"