Files
cyphernode/proxy_docker/app/script/tests-cb.sh
2018-10-12 13:21:25 -04:00

10 lines
220 B
Bash

#!/bin/sh
read line
echo ${line} 1>&2
echo -ne "HTTP/1.1 200 OK\r\n"
echo -e "Content-Type: application/json\r\nContent-Length: 0\r\n\r\n"
# Small delay needed for the data to be processed correctly by peer
sleep 0.5s