Integrations

The receiver expects form data but the flow sends JSON: why is a header change insufficient?

The developer maintaining the receiving system says the fields never arrived, although they appear in the integration step settings. Before renaming them, ask which request representation the receiver accepts: does it read a…

3 min readLast updated November 4, 2026
A developer and colleague reviewing a connection between business systems

The developer maintaining the receiving system says the fields never arrived, although they appear in the integration step settings. Before renaming them, ask which request representation the receiver accepts: does it read a JSON body, or expect form data? Matching field names can still leave the two systems using different representations.

Agree on the body format before its values

The Content-Type header describes the data being sent and helps the receiver choose how to read it. A strict server may reject an unsupported type with a 415 response. However, this header describes the data; it is not an instruction that rewrites the request body into another format.

In the Taloo webhook-step dispatch path reviewed, GET fields are sent as query parameters, while other methods use the JSON body option. This path did not expose a separate choice for encoding the request body as a form. Do not promise the integration team that such a choice exists without checking the implementation.

Keep the description consistent with the content

In a hypothetical example, an older booking system expects a reference field in form data but receives a JSON structure. Adding application/x-www-form-urlencoded to the header alone does not convert that structure into encoded form pairs. It can make diagnosis harder because the description no longer matches the content.

Ask the developer for an accepted test request without customer data or real credentials, showing the method, path and body type. Compare how the receiving side reads it, rather than comparing only screenshots of field names.

Choose an explicit compatibility route

The receiver may be able to accept JSON, or the team may need an approved adapter that converts the format under a defined contract. Record who operates that adapter and how its errors become visible; do not assume it is a ready-made Taloo component.

Do not switch the request to GET simply because it passes. Putting data into the request URL changes where it appears and may contradict the operation's meaning or expose details in logs. The integration owner needs to agree on that contract instead of experimenting on production.

Separate the two tests

Start with a synthetic request proving that the receiver understood the body and field names, then test the business outcome itself. HTTP acceptance does not prove a booking was created, and understanding incoming JSON does not prove that the flow stored its result.

Read request success and business outcomes and extracting a result from a JSON response when moving to those stages. This keeps a request-format mismatch from becoming a series of changes that never address the cause.