Node based REST API for CGI like functionality