How to make this HTTP Request work?

To this URL a POST request should be sent: https://yougile.com/api-v2/tasks

Body:

{
  "title": "test task",
  "columnId": "2c0d6976-5661-4205-8d14-3f9254518db8",
  "description": "string",
  "archived": false,
  "completed": false,
  "assigned": [
    "5eef091f-9824-4deb-b363-e2c339dab1eb"
  ],
  "createdBy": "5eef091f-9824-4deb-b363-e2c339dab1eb",
  "deadline": {
    "deadline": 1653029146646,
    "startDate": 1653028146646,
    "withTime": true
  },
  "timeTracking": {
    "plan": 10,
    "work": 5
  },
  "checklists": [
    {
      "title": "list 1",
      "items": [
        {
          "title": "option 1",
          "isCompleted": false
        },
        {
          "title": "option 2",
          "isCompleted": false
        }
      ]
    }
  ],
  
  "stopwatch": {
    "running": true
  },
  "timer": {
    "running": true,
    "seconds": 600
  }
}

Every query needs to have headers added to it:
Content-Type: application/json and Authorization: Bearer jzFT0Ey6vLdcx1eBXUstPQn6h

I can’ t get the HTTP Request node to work in any way (((
Please help me. Thank you very much!

Information on your n8n setup

  • n8n version: 0.188.0
  • Database you’re using (default: SQLite): SQLite
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

I think I figured it out - it worked!

:+1: :smiley:

3 Likes