It seems that you have incorrectly defined the controller route. In both the controller and the client, remove the space and use / instead: "/api/MyController/MyAction"