vimwiki/tech/curl.wiki

16 lines
258 B
Plaintext

= Curl =
Curl is a CLI application for making web requests.
== Post a file ==
{{{
curl -F "paramname=@./path/to/file.txt" http://remote.host:1234
}}}
== Add a custom header ==
{{{
curl -H "Content-Type: application/json" http://remote.host:1234
}}}