When I am trying to make a POST request to the webhook I receive CORS error: “Access to XMLHttpRequest at {hookUrl} from origin {mySite} has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”
‘Content-Type’: ‘application/json’ header is attached to my request, I send a valid JSON and it is a POST request. When I use a special extension that bypasses CORS request works. But I need that any user could send the request (it is sent from the contact form)