bally
1
I’m making a call to http request
following Update a box
I created
which I copied into n8n
this specifically gave me the node that works
so I want
{“fields”:{“1014”:25,“1019”:true}}
My input is
it looks like exactly what is required but instead {{ $json.fields }} returns
[Object: {“1014”: 25, “1019”: true}]
so I ended up with a mangled
{ “fields”: {{ JSON.stringify($json.fields) }} }
it feels very wrong. Is there a better way
n8n
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
barn4k
3
hello @bally
Usually, you have to convert the JSON object into a string before sending it to the server. That’s why you need the stringify method.
system
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.