Files
kapow/examples/operator.pow
Roberto Abdelkader Martínez Pérez 6a99654739 Renamed examples.
2019-04-04 07:54:12 +02:00

15 lines
258 B
Plaintext

GET /ps {
ps -fax > @fifo:response/body
}
GET /ls {
echo "text/plain" > @fifo:response/header/Content-Type
ls -la @value:request/params/path > @fifo:response/body
}
GET / = index.html
GET /cmdline {
cat /proc/cmdline > @fifo:response/body
}