I have an MVC application where I installed the numbraco 6.1.6 nuget package. Now I'm trying to call a controller from a view using the jQuery AJAX function. The controller is placed in the MVC controller folder and inherited using the UmbracoApiController. I tried to execute the Umbraco API API , but every time my request sends it, it redirects to page 404. I tried the same thing with umbraco 7.1.4, downloaded from here , and it works fine for me. Can anyone suggest a solution for this.
The request URL that I used is: / Umbraco / Api / [controller_name] / [username] , I also tried / Umbraco / [YourAreaName] / [YourControllerName], but this also does not work for me.
source
share