Zapier Webhooks and AJAX Requests
ajax, javascript, zapier
Solution
You must not modify the `Content-Type` header
https://zapier.com/help/create/code-webhooks/troubleshoot-webhooks-in-zapier#posting-json-from-web-browser-access-control-allow-headers-in-preflight-response-error
Problem
Is there a way of triggering Zapier webhooks from client-side applications? I can't seem to make successful AJAX requests and always get: ``` XMLHttpRequest cannot load https://zapier.com/hooks/catch/..... The request was redirected to 'https://zapier.com/hooks/catch/..../', which is disallowed for cross-origin requests that require preflight. ```