Hello,
I have setup a flow to trigger when receiving a webhook. It even filters on the data received. The flow is triggered as expected when using Postman. However, when I post to my webhook URL from javascript in the browser, I am getting the following error:
Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on …
The browser will automatically perform an OPTIONS
(CORS preflight) since I am performing a POST
with a payload that includes content-type
of application/json
. As I understand it, this mean that the appropriate CORS HTTP Headers need to be included in the response headers from flowxo.
Has anyone had success using the webhook trigger and POST to the webhook from the browser with a JSON payload?
Note: My web app is an SPA, simply using jquery to post to the webhook. I can post the code if that would help.
Thank you in advance to all who can help me.