N8n httprequest Body Content Type json submmit

How can I send this:
{
“method”: “torrent-add”,
“arguments”: {
“filename”: “test.txt”
}
}

Hey @aston_he!

Here’s the example node that you can use:

{
  "nodes": [
    {
      "parameters": {
        "requestMethod": "POST",
        "url": "URL",
        "jsonParameters": true,
        "options": {},
        "bodyParametersJson": "{\n\"method\": \"torrent-add\",\n\"arguments\": {\n\"filename\": \"test.txt\"\n}\n}"
      },
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        550,
        300
      ]
    }
  ],
  "connections": {}
}

Hey @aston_he,

Did my solution above help? Let me know if you still need help :slight_smile:

not yet.
I do not know how to do.

If you copy the above workflow code and paste it in your workflow editor, you will be able to see the parameters I have configured in the HTTP Request node.