bb sync commit
[outofuni/intres.git] / cgi-bin / echo
1 #!/bin/bash
2
3 export LANG="en_US.UTF-8"
4
5 echo -en "Access-Control-Allow-Origin: *\r\n"
6 echo -en "Access-Control-Allow-Methods: GET, POST, PUT\r\n"
7 echo -en "Content-type: text/plain\r\n\r\n"
8
9 #DATAIN=$(</dev/stdin)
10 DATAIN=$(cat)
11
12 echo "Echo:<br><br>"
13 echo "$DATAIN"
14