Copied to clipboard

Flag this post as spam?

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


  • Amir Khan 1289 posts 2746 karma points
    Feb 19, 2016 @ 20:54
    Amir Khan
    0

    Razor XML API Example

    Hi,

    Does anyone have a good example of working with an XML API (payment) with razor / javascript? I seem to find 100 PHP examples but nothing that would work nicely with Umbraco.

    Any example or even architectural guidance would be awesome.

    Thanks!

    Amir

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 22, 2016 @ 07:48
    Jeroen Breuer
    0

    Hello,

    This package might be old, but it's an example how Razor can be used to generate an XML sitemap. It could also be used for an API: https://our.umbraco.org/projects/website-utilities/cultiv-search-engine-sitemap

    If you want to output XML or JSON you could also try the Web Api: https://our.umbraco.org/documentation/reference/routing/webapi/

    Jeroen

  • 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