While using curl to POST or PUT a file to a url, there are two different ways to load the file content:
-T ${file_path}
--data-binary @${file_path}
or-d $@{file_path}
(for ascii data files)
What is the difference between these two options?
While using curl to POST or PUT a file to a url, there are two different ways to load the file content:
What is the difference between these two options? |
||||
|
asked |
5 months ago |
viewed |
115 times |
Technology | Life / Arts | Culture / Recreation | Science | Other | ||
---|---|---|---|---|---|---|