Minimal NodeJS REST server
or codeproject review
Not fully tested
However, it should now work with the following URL formats
The first format works for sure. See rest-stress
Formats 2 and 3 are parsed and stored correctly in the routes, so I'm pretty sure they sure they will work.
How's the performance?
It cost's to parse and check, but the numbers are still pretty good. All the new features incur a 4% slowdown.