Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    May 22, 2014 @ 08:30
    Biagio Paruolo
    0

    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

  • Lars-Erik Aabech 350 posts 1102 karma points MVP 8x c-trib
    May 22, 2014 @ 15:16
    Lars-Erik Aabech
    0

    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

  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    May 28, 2014 @ 23:03
    Biagio Paruolo
    0

    I see it. Do you know how use authorization directive?

  • Fredrik Heidgert 9 posts 29 karma points
    Apr 07, 2015 @ 18:37
    Fredrik Heidgert
    0

    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.

  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Nov 03, 2015 @ 15:03
    Biagio Paruolo
    0

    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.

  • John Bergman 483 posts 1132 karma points
    Nov 19, 2017 @ 02:57
    John Bergman
    0

    Anyone made any progress on this, or have code they'd like to share... or would be interested in collaborating on a sample?

  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Nov 19, 2017 @ 08:45
    Biagio Paruolo
    0

    I've have done my rest api functions with OAuth2 authentication.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Nov 20, 2017 @ 09:02
    Dan Diplo
    0

    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/

  • 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.

Please Sign in or register to post replies