Copied to clipboard

Flag this post as spam?

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


  • Meni 251 posts 487 karma points
    Mar 25, 2024 @ 19:40
    Meni
    0

    Does Umbraco already has an API that I can consume - for example in Angular?

    What I need is, I want to put some select drop down in my website, and when the user selects, I want to send it to Angular app, and then to process the user selection inside the Angular app (therefore I need somehow to communicate in Angular and API will be the easiest way)

    How can I obtain it?

    Is the API is just as simple as wordpress that I can consume with a simple get ?

    Another question: is there a way to embed Angular app within Umbraco website that it's not iFrame ?

    Right now what I plan to do is just to build the same page in Angular, and once the user redirect to the Angular page, he'll have the same look and feel, and then inside the Angular app he'll have the functionality, and at any time he can go back to the magazine by either return to home page or click one of the top nav links which will bring him back to the Umbraco website - does it make sense? Is there a better way to do it?

    Thanks

  • Garðar Þorsteinsson 114 posts 556 karma points
    Mar 25, 2024 @ 22:11
    Gar├░ar ├×orsteinsson
    0

    Hi,

    Umbraco ships with its own Rest Api endpoints that you can use to fetch data from Umbraco.

    Here are the documentation for it:

    https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api

    You can use any JS frameworks with Umbraco like Angular, React.

  • Tarik 181 posts 803 karma points c-trib
    4 days ago
    Tarik
    0

    Welcome Umbracians,

    I want to mention that some limitations exist on the API, I invite you to check them.

Please Sign in or register to post replies

Write your reply to:

Draft