# Allow CORS FormSnap3 stack

**URL:** <https://forums.realmacsoftware.com/t/allow-cors-formsnap3-stack/35965>\
**Category:** RapidWeaver Classic\
**Created:** [November 29, 2020, 8:13pm UTC](https://forums.realmacsoftware.com/t/allow-cors-formsnap3-stack/35965 "2020-11-29T20:13:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stathisaska](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/stathisaska/32/23301_2.png) [@stathisaska](https://forums.realmacsoftware.com/u/stathisaska)\
**Post date:** [November 29, 2020, 8:13pm UTC](https://forums.realmacsoftware.com/t/allow-cors-formsnap3-stack/35965/1 "2020-11-29T20:13:22Z")

</div>

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](https://hooks.zapier.com/hooks/catch/xxxxx/xxxxx)’ from origin ‘[http://myDomain.gr](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 ?

---

<div class="post-metadata">

**Author:** ![Pyrobrit](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pyrobrit/32/14665_2.png) [@Pyrobrit](https://forums.realmacsoftware.com/u/Pyrobrit)\
**Post date:** [November 29, 2020, 9:00pm UTC](https://forums.realmacsoftware.com/t/allow-cors-formsnap3-stack/35965/2 "2020-11-29T21:00:08Z")

</div>

Change `Authorisation` to `Accept`

Possibly?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [December 30, 2020, 7:00am UTC](https://forums.realmacsoftware.com/t/allow-cors-formsnap3-stack/35965/3 "2020-12-30T07:00:15Z")

</div>

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