Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Changing Form Webhooks Header content-type from x-www-form-urlencoded to JSON?

Home / Forums / Membership Forums / Changing Form Webhooks Header content-type from x-www-form-urlencoded to JSON?

This topic is: Resolved
[Resolved]
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?

  • The forum ‘Membership Forums’ is closed to new topics and replies.