Did you get anywhere with Umbraco as a REST-backend for your mobile app?
I'm struggling with getting CORS working under an Umbraco-context (I have no problems getting it to work with a separate CORS-enabled Web API application). Please see my post here:
It's worth noting that Umbraco will - in the future - be releasing an official REST API as part of the move to feature Umbraco as a "headless" CMS. The beta was unveiled at the UK Umbraco festival. However, I believe this will be an Umbraco Cloud only offering.
In the meantime you might want to check out this project, which is the precursor to it:
Web Api to develop REST services for mobile app.
Which is the best method to develop REST services and use Umbraco7 as "backend"?
Use Vs2013 + nuget Umbraco and add a Web Api project?
Is it possibile to use NodeJS too?
Thank you
You can derive from UmbracoApiController. It is a Web API controller with Umbraco context. :)
See https://github.com/umbraco/Umbraco4Docs/blob/master/Documentation/Reference/WebApi/index.md
I see it. Do you know how use authorization directive?
Biagio,
Did you get anywhere with Umbraco as a REST-backend for your mobile app?
I'm struggling with getting CORS working under an Umbraco-context (I have no problems getting it to work with a separate CORS-enabled Web API application). Please see my post here:
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/63841-Web-API-2-and-cross-origin-resource-sharing-(CORS)
I'm thankful for any input you might have.
No. I start a new project in this days on U7.3.0 and I wish to use Rest Api or build a mine Web Api solution. I'll give you a feedback.
Anyone made any progress on this, or have code they'd like to share... or would be interested in collaborating on a sample?
I've have done my rest api functions with OAuth2 authentication.
It's worth noting that Umbraco will - in the future - be releasing an official REST API as part of the move to feature Umbraco as a "headless" CMS. The beta was unveiled at the UK Umbraco festival. However, I believe this will be an Umbraco Cloud only offering.
In the meantime you might want to check out this project, which is the precursor to it:
https://our.umbraco.org/Documentation/Implementation/Rest-Api/
is working on a reply...