Files
cyphernode/proxy_docker/app/script/tests-cb.sh

10 lines
229 B
Bash

#!/bin/sh
read line
echo ${line} > /dev/stderr
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