summaryrefslogtreecommitdiff
path: root/examples/body.sh
blob: 5c56df2c20910cd7c25fd13109bcab14ee866f37 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# even though we have no headers
# 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"

exit 200