How to provide complex data as post body for a request

Hi,
how do i provide / define complex data for the request body of a flows POST request?

Example:

{
  "preferredName": {
    "de": "Lorem",
    "en": "Ipsum"
    "...": "..."
  },
  "properties": [
     "prop1": {
        "key1": "lorem",
        "key2": {
            "subkey1": "ipsum",
            "...": "..."
     },
      "prop2": {},
      "...": {}
    }
]
 
}

Do you mean on the flow canvas? If so, you can use an evaluate block (with typescript) and define the json value. You can also use a record block if you want to define the structure explicitly in a block.

Hi,
thx for the tip. I used an evaluate block that looks like this. And it works.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.