# Webhook not supporting application/x-www-form-urlencoded

**URL:** <https://community.cdata.com/t/webhook-not-supporting-application-x-www-form-urlencoded/924>\
**Category:** CData Arc\
**Tags:** question, cdata-arc\
**Created:** [October 27, 2024, 8:40am UTC](https://community.cdata.com/t/webhook-not-supporting-application-x-www-form-urlencoded/924 "2024-10-27T08:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sacha](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sacha](https://community.cdata.com/u/Sacha)\
**Post date:** [October 27, 2024, 8:40am UTC](https://community.cdata.com/t/webhook-not-supporting-application-x-www-form-urlencoded/924/1 "2024-10-27T08:40:06Z")

</div>

Hi,

Original question:

When creating a simple webhook and calling it using curl, the webhook returns an error about “application/x-www-form-urlencoded”.

This is resolved by setting the correct Content-Type header to either&nbsp;application/json or&nbsp;application/xml as configured in the Connector.

Follow-up question (am not able to update the title of this post…):

Can the webhook return to the requestor immediatly with a 200 upon creating the Output message, so that the requester doesnt have to wait for the full flow behind the wehbook to complete?

---

<div class="post-metadata">

**Author:** ![Chaitanya\_Sandra](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/chaitanya_sandra/32/989_2.png) [@Chaitanya\_Sandra](https://community.cdata.com/u/Chaitanya_Sandra)\
**Post date:** [October 28, 2024, 5:57am UTC](https://community.cdata.com/t/webhook-not-supporting-application-x-www-form-urlencoded/924/2 "2024-10-28T05:57:27Z")

</div>

Hi Sacha,

The Webhook connector only allows users to POST only the XML/JSON payloads to the Webhook endpoint.

Webhook connectors enable data to enter the CData Arc flow via HTTP POSTs and PUTs. Each Webhook connector exposes an endpoint in the application where external clients can send XML and JSON payloads. These payloads are written to an output file. Once you see the output message in the connector, then&nbsp;the Webhook connector will send an automatic response back to your partner.

Here is the Webhook connector documentation for your reference:&nbsp;[CData Arc - Webhook Connector | Version 24.2.9039](https://cdn.cdata.com/help/AZK/mft/Webhook.html)
