Exported web-component API issue

  • kamilnader-1201221898365833407

    Kamil

    1 year ago

    Hello, so I have built a form as a web component and am trying to embed it on another website. The submission works on toddle, while on the embedded website, the data is not coming through. I also tried with Pabbly webhook with the same result.
  • Tod-1201221899900948591

    Tod

    1 year ago

    Great energy @Kamil! Your continuous contribution to the toddle Community just made you advance to Community Level 4!
  • kamilnader-1201222084081229915

    Kamil

    1 year ago

    And it looks like under DevTools network, the fetch was successful but no data is coming through.
  • I tried with and without proxy. Without, I am getting CORS policy issue
  • stockton_f-1201222465142149201

    Stockton

    1 year ago

    If I wanted to replicate the issue, would I embed a component with a POST request to pabbly?
  • kamilnader-1201222845829750864

    Kamil

    1 year ago

    Yes, sure👍
  • kamilnader-1201224198408896574

    Kamil

    1 year ago

    You were right, without proxy the pabbly webhooks works, while my webhook has the CORS policy issue.
    ❤️1
  • kamilnader-1201230339318763651

    Kamil

    1 year ago

    Ok so it seems this is not toddle issue, I guess I'll use different webhook that supports cors