Curl

Add form-file in a POST request

curl -F "field-name=@/my/path" http://example.com

POST is implicit because of -F.