Question Http Request

Hi again,

its possible to send this:

{
 "authentication" : {
 "delisId" : "<your delisId>",
 "authToken" : "<your authToken>",
 "messageLanguage" : "en_EN"
 },
 "getTrackingData" : {
 "parcelLabelNumber" : "01405400945058"
 }
}

I have made a request with to get the Auth Token this works. But next i would send the authentication frame (JSON Key) and then the getTrackingData (JSON Key). How i would to set it here ?

Thanks so much,
Stefan

Not sure if I understand you correctly. But if you simply want to send this data via POST you can do the following:

{
  "nodes": [
    {
      "parameters": {
        "requestMethod": "POST",
        "url": "https://webhook.site/b6950ac3-8fdb-439c-a208-9eb11a27b86f",
        "jsonParameters": true,
        "options": {},
        "bodyParametersJson": "={  \"authentication\" : {  \"delisId\" : \"{{$node[\"Mock-Data\"].json[\"delisId\"]}}\",  \"authToken\" : \"{{$node[\"Mock-Data\"].json[\"authToken\"]}}\",  \"messageLanguage\" : \"en_EN\"  },  \"getTrackingData\" : {  \"parcelLabelNumber\" : \"01405400945058\"  } }"
      },
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "return [\n  {\n    json: {\n      authToken: 'test-authToken',\n      delisId: 'test-delisId',\n    }\n  }\n]"
      },
      "name": "Mock-Data",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    }
  ],
  "connections": {
    "Mock-Data": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}