Failed to retrieve json from UmbracoApiController on deployment server. Locally works fine.
Hi everyone,
I'm having some problem retrieving json from UmbracoApiController method. Locally everything works, but when I try to deploy on server I'm getting this:
" This XML file does not appear to have any style information associated with it. The document tree is shown below.
"
Home page is showing correctly. I have problem just with json controller on the server. My method :
[System.Web.Http.HttpGet]
///
/// Output the HomePage as JsonResponse
///
///
public IHttpActionResult Home()
{
Failed to retrieve json from UmbracoApiController on deployment server. Locally works fine.
Hi everyone,
I'm having some problem retrieving json from UmbracoApiController method. Locally everything works, but when I try to deploy on server I'm getting this: " This XML file does not appear to have any style information associated with it. The document tree is shown below. "
Home page is showing correctly. I have problem just with json controller on the server. My method :
[System.Web.Http.HttpGet] ///
... return Json(response); }
Like I said, it's working locally.
Thanks!!
Bojan
is working on a reply...