Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Content Delivery API - Friendly URL returns Resource not found

$
0
0

Hi

I currently have an issue whereby when trying to call CD-Api with a friendly URL as shows below i get the error resource not found.

I have installed the core modules for CD-API, the client does not use find and no authentication required.

I have followed the blog posts several times to see if they work, but no luck

https://world.episerver.com/forum/developer-forum/Addons/Thread-Container/2019/5/headless-api---404-not-found/

protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
GlobalConfiguration.Configure(WebApiConfig.Register);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
log4net.Config.XmlConfigurator.Configure();
MvcHandler.DisableMvcResponseHeader = true;
ServiceLocator.Current.GetInstance<RoutingOptions>().UseTrailingSlash = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11;
}

The strange thing is this worked perfectly in Alloy Site

Any help would be much appreciated.


Viewing all articles
Browse latest Browse all 6894

Trending Articles