I’m trying to put a Zapier Webhooks URL in my Marvin (amazingmarvin.com) webhooks settings. I have to do it this way because there are no triggers in the Marvin Zapier app (just actions).
Marvin says regarding webhooks:
To prevent Marvin from being a DOS machine, Webhooks are sent as AJAX requests from the client. That means that your target server needs to configure CORS. If this turns out to be a major inconvenience, this could be improved in the future. Go ahead and file an issue on github if you feel this would be worthwhile.
Which headers are needed?
Access-Control-Allow-Methods: OPTIONS, POST # whichever methods you are using!Access-Control-Allow-Headers: Content-Type,... # whichever you are specifying (+ content type unless using GET)Access-Control-Allow-Origin: https://app.amazingmarvin.com # use * if you want to use the desktop or mobile app