diff options
Diffstat (limited to 'examples/body.sh')
-rwxr-xr-x | examples/body.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/body.sh b/examples/body.sh index 5c56df2..bf671df 100755 --- a/examples/body.sh +++ b/examples/body.sh @@ -4,7 +4,7 @@ # we still need to tell there will be no more headers printf "\n" -# the body of any http request made will be stored in argument 1 -printf "$1" +# the body of any http request made will be stored in stdin +cat exit 200 |