Re:Show HN: HTTP Status as a Service
by tlrobinson on Tuesday June 05, 2018 @01:49AM
(#17235254)
[ Parent
| on HN ]
gotta add a NaN check in there or it'll hang
require("express")().get("/:status", (req, res) => res.status(+req.params.status || 400).end()).listen(80)