REST routing is not working on production

I have this url:

And it’s working correctly on dev server - returns a User model.

However when I uploaded the code on the prod, that url is not working anymore.

I get message:


<name>Bad Request</name>

<message>Required parameters are missing: id</message>





If I go to Everything is working. So the problem that parameters are not parsing on the prod.

What can be a reason?