We recently inherited a large site that has a few API calls that have started returning 404s.
The code hasn't changed - i know this because we only inherited the compiled DLLs for the controllers, we didn't get the source code - I'm able to examine them in ILSpy but I don't think they can be updated.
In the last few weeks though, these have started returning 404s and it's in a crucial part of the site. When I looked at the DLLs, I was surprised to find that the controller doesn't inherit from UmbracoApiController, so Im wondering how it ever worked.
How else could routing be set up in Umbraco? Can it be set up manually, and if so, where do I look?
Ok, turns out this was nothing to do with Umbraco. There was a proxy added to the front of the web server in AWS, and other devs had redirected /api/ calls for their own projects not realising there was a conflict.
Recent API 404 errors
We recently inherited a large site that has a few API calls that have started returning 404s.
The code hasn't changed - i know this because we only inherited the compiled DLLs for the controllers, we didn't get the source code - I'm able to examine them in ILSpy but I don't think they can be updated.
In the last few weeks though, these have started returning 404s and it's in a crucial part of the site. When I looked at the DLLs, I was surprised to find that the controller doesn't inherit from UmbracoApiController, so Im wondering how it ever worked.
How else could routing be set up in Umbraco? Can it be set up manually, and if so, where do I look?
My version is 7.12.3
Thanks
Ok, turns out this was nothing to do with Umbraco. There was a proxy added to the front of the web server in AWS, and other devs had redirected /api/ calls for their own projects not realising there was a conflict.
is working on a reply...