How do I add a blob of JSON into the Data param of the Send HTTP Request step?

This topic was automatically generated from Slack. You can find the original thread here.

Nat : And II: Am I missing something re: how to add a blob of JSON into the Data param? I turn structure off. But adding {“foo”: “bar”…} is showing an input validation error:

“OBJECT ·params.data· is not of a type(s) object”

UPDATE: Ah, OK, Syntax =

{{
{ "foo": "bar" }
}}

Dylan Sather (Pipedream) : Hi , that’s correct. Params of type object require you to wrap the JSON with the double curly braces, to return an expression that evaluates to an object. Here’s a handy reference on how to use the params form for each data type in structured and non-structured mode: Params

Dylan Sather (Pipedream) : We’re hoping to make this simpler in the future, as well!