Copied to clipboard

Flag this post as spam?

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

  • AnandBhopale 53 posts 171 karma points
    Apr 27, 2021 @ 09:38

    Umbraco forms Post data to Url

    In Umbraco forms, there is workflow type to "Post data to Url".

    Is there sample code available to refer. I am looking for

    1. How to access data on separate page (Razor Page) ?
    2. Is there any way to post data to content Page and read data from there ?
    3. Is there any way to post data to Surface Controller ?
  • Sören Deger 728 posts 2837 karma points c-trib
    16 days ago
    Sören Deger

    Umbraco Forms send the forms data as JObject in the Request Body.

    Here is a basic example for an UmbracoApiController:

    public class FormsController : UmbracoApiController
            public void MyCustomFormsLogic([FromBody]JObject data)

    Hope this helps?

    Best, Sören

Please Sign in or register to post replies

Write your reply to: