79713382

Date: 2025-07-24 12:54:32
Score: 1.5
Natty:
Report link

I just want to add another answer that would have helped me had I found it here. If your configuration of your api controller is with [Route("api/[controller]/[action]")] and you also declare specific routes on each of your various api actions (functions / methods) that doesn't match that design then it may not properly find the action and produce the same 404. So get rid of the routes on the various actions and it will work.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: misterbee180