mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-17 12:45:22 +01:00
10 lines
220 B
Bash
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
|