Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have setuped a small Web API test and it seems that the Umbraco implementation of Web API is disableing the default routes.
The code below should react to /umbraco/api/skills (default Web API behavior), but only responds to /umbraco/api/skills/getallskills
public class SkillsController : UmbracoApiController { public IEnumerable< IPublishedContent > GetAllSkills() { IEnumerable<IPublishedContent> skills = Umbraco.TypedContent(1067).Descendants(); return skills; } }
I cant seem to find any documentaion on the default web API routes?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Web API default routes missing?
I have setuped a small Web API test and it seems that the Umbraco implementation of Web API is disableing the default routes.
The code below should react to /umbraco/api/skills (default Web API behavior), but only responds to /umbraco/api/skills/getallskills
I cant seem to find any documentaion on the default web API routes?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.