I’ve found that adding the following route:
var server = restify.createServer(); server.post('/', ...);
leads to mysterious errors and prevents the application from starting. Specifying anything other than root:
works just fine.
Is this a limitation of restify? I can’t see any evidence of that in its source.
Is this a HyperDev thing?
I can imagine that it’s probably not recommended to POST to root, but that’s a separate discussion