On Tue, 16 Feb 2016 18:24:36 GMT, John More wrote:

I need to add a method to my class and there is no way I can get the program to recognize the route to the method adduserId. It is my understanding that this should end up with a router.post("/userid",&adduserId(......)) which would mean my client would access it with a post to /userid.

Any hints will certainly be appreciated.

I think that according to the naming convention it should be "addUserId", with a capital U. The documentation [1] says:

"Note that the prefix word must be all-lowercase and is delimited by either an upper case character, a non-alphabetic character, or the end of the string."

[1]

/Jacob Carlborg