Merge remote-tracking branch 'origin/develop' into server-as-subcommand
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
#
|
||||
|
||||
kapow route add -X POST --entrypoint '/bin/zsh -c' '/convert/{from}/{to}' - <<-'EOF'
|
||||
pandoc --from=$(request /match/from) \
|
||||
--to=$(request /match/to) \
|
||||
pandoc --from=$(request /matches/from) \
|
||||
--to=$(request /matches/to) \
|
||||
--output=>(response /body) \
|
||||
=(request /body)
|
||||
EOF
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
curl -X POST --data-binary @- http://localhost:8080/convert/markdown/man <<EOF
|
||||
# This is not a pipe
|
||||
|
||||
1. hello
|
||||
1. goodbye
|
||||
EOF
|
||||
Reference in New Issue
Block a user