anshuman.shandilya-aonhewitt
-
12/3/2013 10:08:12 AM
WebAPI Controllers in Kentico
Hi,
I have to get data from client side and render it on page. To accomplish that I created a WebAPI controller in App_Code folder of Kentico website and registered the route in CMSApplicationEvents.Start.After event. I debugged and see the route is successfully registered but when I call controller from Google Chrome Postman app, I get HTML of the master page and status as 404 (resource not found). Is there any other setting that I need to do in web.config or elsewhere to enable WebAPI calls.
Please help.
Thanks Anshuman
|