That function unfortunately never gets called. For sure I also tried it the exact same way as in the documentation by passing an external declared function:
Also nothing happens. Either there is something important missing in the documentation or this is not working as expected to me. (I'm a beginning with everything around node.js).
Hi.
I'm using the code out of this tutorial: https://github.com/matthoiland/restful-api-demo I've checked the documentation in here https://github.com/baugarten/node-restful which says it is possible to place pre/post functions on every api-call like this:
That function unfortunately never gets called. For sure I also tried it the exact same way as in the documentation by passing an external declared function:
Also nothing happens. Either there is something important missing in the documentation or this is not working as expected to me. (I'm a beginning with everything around node.js).