I am totally baffled by a recent problem I have not seen before.
This is my API method:
I have one parameter, and route using one variable (userId). When running this, without any code added yet, just adding values to the parameters, it fails like this:
If I remove the path variable (userId), it works. If I change the string variable to an object, it executes, but the object is always null for some reason (this is how I discovered this being a problem).
It shoud go without saying that I want to keep using REST route variables, so this is not going to be an option.
What am I doing wrong here or not understanding? Please advice