Pages
Home
Info
HowTo
Code
Publications
Finance
Links
Legal
Showing posts with label
cURL
.
Show all posts
Showing posts with label
cURL
.
Show all posts
21/09/2019
[cURL] Use file content as payload
With
curl
, it is possible to specify a file content as payload simply with:
-d @$file
For example:
curl -X POST some_url -H some_headers -d @$file
Older Posts
Home
View mobile version
Subscribe to:
Posts (Atom)