From 7b780da177f63ae133c05221c84b82eb7c0b342c Mon Sep 17 00:00:00 2001 From: Caffeine Fueled Date: Wed, 1 Oct 2025 18:58:35 +0000 Subject: [PATCH] Update Bash --- Bash.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Bash.md b/Bash.md index 6441cf7..63f9e25 100644 --- a/Bash.md +++ b/Bash.md @@ -1,4 +1,3 @@ - ## Running multiple commands at once ```bash { cmd() { printf "\n# %s\n" "$*"; "$@"; }; \ @@ -35,3 +34,13 @@ done < domain-list.txt ```bash sort file.txt | uniq -c | sort -nr ``` + +--- + +## Curl - Simple API call + +```bash +curl -X POST http://localhost:8000/api/run1/ \ + -H "Authorization: Bearer 9d207bf0-10f5-4d8f-a479-22ff5aeff8d1" \ + -d "host_a,is ok" +``` \ No newline at end of file