upload a file using curl code example
Example: curl upload file
curl -F "FIELDNAME=@FILE" http://URL
# FIELDNAME can be whatever you want, it is the key value of the form field
# the @ is important to point to a local file
curl -F "FIELDNAME=@FILE" http://URL
# FIELDNAME can be whatever you want, it is the key value of the form field
# the @ is important to point to a local file