mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
145 lines
2.7 KiB
JSON
145 lines
2.7 KiB
JSON
|
{
|
||
|
"name": "http request test",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"parameters": {},
|
||
|
"id": "12433cfb-74d9-4bf1-9afd-0ab9afc9ef19",
|
||
|
"name": "When clicking \"Execute Workflow\"",
|
||
|
"type": "n8n-nodes-base.manualTrigger",
|
||
|
"typeVersion": 1,
|
||
|
"position": [820, 360]
|
||
|
},
|
||
|
{
|
||
|
"parameters": {
|
||
|
"url": "https://dummyjson.com/todos/1",
|
||
|
"options": {}
|
||
|
},
|
||
|
"id": "07670093-862f-403f-96a5-ddf7fdb0d225",
|
||
|
"name": "HTTP Request",
|
||
|
"type": "n8n-nodes-base.httpRequest",
|
||
|
"typeVersion": 3,
|
||
|
"position": [1120, 100]
|
||
|
},
|
||
|
{
|
||
|
"parameters": {
|
||
|
"url": "https://dummyjson.com/todos/3",
|
||
|
"sendHeaders": true,
|
||
|
"headerParameters": {
|
||
|
"parameters": [
|
||
|
{
|
||
|
"name": "Authorization",
|
||
|
"value": "Bearer 12345"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"options": {}
|
||
|
},
|
||
|
"id": "25cc4f31-9363-4247-a49d-7ac49f174d16",
|
||
|
"name": "HTTP Request fake header",
|
||
|
"type": "n8n-nodes-base.httpRequest",
|
||
|
"typeVersion": 3,
|
||
|
"position": [1120, 440]
|
||
|
},
|
||
|
{
|
||
|
"parameters": {
|
||
|
"url": "https://dummyjson.com/todos",
|
||
|
"sendQuery": true,
|
||
|
"queryParameters": {
|
||
|
"parameters": [
|
||
|
{
|
||
|
"name": "limit",
|
||
|
"value": "2"
|
||
|
},
|
||
|
{
|
||
|
"name": "skip",
|
||
|
"value": "10"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"options": {}
|
||
|
},
|
||
|
"id": "33c80933-b113-4eff-beb7-4a5b0bc30bcf",
|
||
|
"name": "HTTP Request with query",
|
||
|
"type": "n8n-nodes-base.httpRequest",
|
||
|
"typeVersion": 3,
|
||
|
"position": [1120, 620]
|
||
|
}
|
||
|
],
|
||
|
"pinData": {
|
||
|
"HTTP Request": [
|
||
|
{
|
||
|
"json": {
|
||
|
"id": 1,
|
||
|
"todo": "Do something nice for someone I care about",
|
||
|
"completed": true,
|
||
|
"userId": 26
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"HTTP Request with query": [
|
||
|
{
|
||
|
"json": {
|
||
|
"todos": [
|
||
|
{
|
||
|
"id": 11,
|
||
|
"todo": "Text a friend I haven't talked to in a long time",
|
||
|
"completed": false,
|
||
|
"userId": 39
|
||
|
},
|
||
|
{
|
||
|
"id": 12,
|
||
|
"todo": "Organize pantry",
|
||
|
"completed": true,
|
||
|
"userId": 39
|
||
|
}
|
||
|
],
|
||
|
"total": 150,
|
||
|
"skip": 10,
|
||
|
"limit": 2
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"HTTP Request fake header": [
|
||
|
{
|
||
|
"json": {
|
||
|
"id": 3,
|
||
|
"todo": "Watch a classic movie",
|
||
|
"completed": false,
|
||
|
"userId": 4
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"connections": {
|
||
|
"When clicking \"Execute Workflow\"": {
|
||
|
"main": [
|
||
|
[
|
||
|
{
|
||
|
"node": "HTTP Request",
|
||
|
"type": "main",
|
||
|
"index": 0
|
||
|
},
|
||
|
{
|
||
|
"node": "HTTP Request with query",
|
||
|
"type": "main",
|
||
|
"index": 0
|
||
|
},
|
||
|
{
|
||
|
"node": "HTTP Request fake header",
|
||
|
"type": "main",
|
||
|
"index": 0
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"active": false,
|
||
|
"settings": {},
|
||
|
"versionId": "0fb64565-22b3-4ff3-8ba4-354b2bcaf8a6",
|
||
|
"id": "108",
|
||
|
"meta": {
|
||
|
"instanceId": "36203ea1ce3cef713fa25999bd9874ae26b9e4c2c3a90a365f2882a154d031d0"
|
||
|
},
|
||
|
"tags": []
|
||
|
}
|