Copied to clipboard

Flag this post as spam?

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


  • Andrew Wilson 9 posts 79 karma points
    Jul 06, 2016 @ 07:54
    Andrew Wilson
    0

    Calling own API

    Hi

    I am new to Umbraco and just trying to work out how to structure an application. We have our own custom database sitting behind our own API. What is the best way to call our own API and show the data? Should I use a Surface Controller?

    Many thanks

    Andrew

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jul 07, 2016 @ 21:43
    Alex Skrypnyk
    0

    Hi Andrew,

    Welcome to Our Umbraco Forum.

    For working with data UmbracoApiController is better then SurfaceController - https://our.umbraco.org/documentation/reference/routing/webapi/

    Will Umbraco site retreive data from your custom database?

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft