vimwiki/tech/curl.wiki

16 lines
258 B
Plaintext
Raw Normal View History

2022-04-26 00:30:01 +00:00
= 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
}}}