October 22, 2023 at 12:32 pm
I’ve been trying to set up a Webhook that instantly notifies me when a new form submission happens, via Microsoft’s Incoming Webhook
I was able to get it working easily, but the issue is that form submissions don’t actually go through. I was able to point the form to webhook.site to see what they were sending over, and discovered the issue: Header content-type: x-www-form-urlencoded
Microsoft’s Webhooks only allow for Webhooks with Header content-type: application/JSON to be used (security against malicious code probably), so I need to find a way to make Kadence forms send Webhooks using JSON content type instead of x-www-form-urlencoded
That being said, the application type Kadence is using makes me scared to change it, as “URL Encoded” makes it sound like the way users/frontend hides the Webhook URL is via using this specific content-type Header.
1. How do I make Kadence Advanced Forms Webhooks use Header content-type: application/json, instead of /x-www-form-urlencoded?
2. Does making that change ^ cause the Webhook URL to be exposed on the frontend?