diff --git a/tech/curl.wiki b/tech/curl.wiki new file mode 100644 index 0000000..4c550eb --- /dev/null +++ b/tech/curl.wiki @@ -0,0 +1,15 @@ += 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 + }}} diff --git a/tech/misc.wiki b/tech/misc.wiki index a1d5dc9..460e6c6 100644 --- a/tech/misc.wiki +++ b/tech/misc.wiki @@ -8,6 +8,7 @@ Misc. Stuff relating to computers and tech in general * [[ffmpeg]] * [[zathura]] * [[latex]] +* [[curl]] == Stuff to do ==