Skip to content

Instantly share code, notes, and snippets.

@xarimanx
Created August 19, 2013 13:23

Revisions

  1. xarimanx created this gist Aug 19, 2013.
    1 change: 1 addition & 0 deletions upload_file_by_curl.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    curl [url] -F '[param_name]=@[file_path];type=[mime-type]' -F '[other_params](optional)'