404 ASP.NET Web API

  • 0
  • Pump00:00

I’m trying to host my ASP.NET Web API (Web Forms) but I’m receiving a 404 (viewed in fiddler):

enter image description here

I have my Route set up in my Global and it works perfectly on my local – what am I missing here?

Any ideas are appreciated. Thanks.

Edit:

Here’s my Route template:

    RouteTable.Routes.MapHttpRoute(
                name: "DefaultApi",
           routeTemplate: "api/{controller}/{action}",
           defaults: new { controller = "Uploads",  action="UploadFile"});
Default Asked on November 16, 2019 in Programming.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.