From 0d0d87ad2845cffcb499e17fc644b709213c2d8c Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Mon, 25 Apr 2022 20:30:01 -0400 Subject: [PATCH] Update for 25-04-22 20:30 --- tech/curl.wiki | 15 +++++++++++++++ tech/misc.wiki | 1 + 2 files changed, 16 insertions(+) create mode 100644 tech/curl.wiki 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 ==