summaryrefslogtreecommitdiff
path: root/examples/command.sh
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-07-02 22:40:04 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-07-02 22:40:04 -0400
commit77eee644c9c9bf6e3c19a5c6efb9d31f5d91318e (patch)
tree9e8ef5086cb7e30057ead2a78b0347bf3341ce46 /examples/command.sh
parentadd methods to routes, allow custom headers and response codes (diff)
downloadbashttp-77eee644c9c9bf6e3c19a5c6efb9d31f5d91318e.tar.gz
bashttp-77eee644c9c9bf6e3c19a5c6efb9d31f5d91318e.tar.bz2
bashttp-77eee644c9c9bf6e3c19a5c6efb9d31f5d91318e.zip
move body to stdin
Diffstat (limited to 'examples/command.sh')
-rwxr-xr-xexamples/command.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/command.sh b/examples/command.sh
index 52a5666..64e159b 100755
--- a/examples/command.sh
+++ b/examples/command.sh
@@ -6,6 +6,5 @@ printf "\n"
neofetch
-# return http code 418 im a teapot
-exit 418
+exit 200