Allow CORS FormSnap3 stack

Hello to the community !

I am trying to POST from FormSnap3 stack, but I get the following error

Access to XMLHttpRequest at ‘https://hooks.zapier.com/hooks/catch/xxxxx/xxxxx’ from origin ‘http://myDomain.gr’ has been blocked by CORS policy: Request header field cache-control is not allowed by Access-Control-Allow-Headers in preflight response.

I have added the following headers in .htaccess, however the problem persists. I have a plugin in Google Chrome, which allows me to override CORS, and when enabled issue is resolved.

Header set Access-Control-Allow-Origin “*”
Header set Access-Control-Allow-Methods “GET,PUT,POST,DELETE”
Header set Access-Control-Allow-Headers “Content-Type, Authorization”

I also tested adding invalid headers in .htaccess to validate my server is not overriding.

I am struggling the whole day with this, can someone help ?

Change Authorisation to Accept

Possibly?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.