what is the difference between curl --upload-file and curl --form file=@filename -


what difference between curl --upload-file , curl --form file=@/path/file? how http request different these?

--upload-file

(with http or https url) makes curl send http put request.

--form

makes curl send http post request multipart formpost body.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -