Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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
is working on a reply...