process.stdin request body nodejs cgi
Question
i make cgi code for nodejs like this
#!C:/Program Files/nodejs/node
var sys = require('sys');
sys.puts("Status: 200");
sys.puts("content-type:text/plane; ;charset=utf-8");
sys.puts("");
process.stdin;
i will get request body with process.stdin; but process.stdin has an error "Error: EINVAL, invalid argument"
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow