appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.17k stars 3.7k forks source link

[Bug]: REST API request filters nulls #35172

Open rohan-arthur opened 2 months ago

rohan-arthur commented 2 months ago

Is there an existing issue for this?

Description

send this body in a POST request: { "hello": null, "world": "PP" }

send it to any url, e.g. https://anyurl.com, just run the request to examine the body in the error

You will notice that the body that appsmith sends does not contain the first key, i.e., hello:

"body":{ "world":"PP" }

Screenshot 2024-07-25 at 12 46 50

Steps To Reproduce

explained above

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Cloud

rohan-arthur commented 2 months ago

while this is indeed a frustrating issue, there is a workaround for it: either handle this in js object or in the backend implementation. It is a high priority issue and we have planned it for the next sprint.