[
{
"id": "1223d4fe.449f4b",
"type": "tab",
"label": "http-request Get",
"disabled": false,
"info": ""
},
{
"id": "3a5562c4.d8c206",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 370,
"y": 100,
"wires": [
[
"48d45ba0.3b68c4"
]
]
},
{
"id": "a6e03add.cbea8",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "make request",
"props": [
{
"p": "url",
"v": "http://jsonplaceholder.typicode.com/posts",
"vt": "str"
},
{
"p": "method",
"v": "GET",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 150,
"y": 60,
"wires": [
[
"63de6e51448c0942"
]
]
},
{
"id": "48d45ba0.3b68c4",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 60,
"wires": []
},
{
"id": "b2e12e99.d368e",
"type": "html",
"z": "1223d4fe.449f4b",
"name": "",
"property": "payload",
"outproperty": "payload",
"tag": "div",
"ret": "html",
"as": "single",
"x": 550,
"y": 380,
"wires": [
[
"87b7038e.4e6fd8"
]
]
},
{
"id": "40c7eec6.7678b8",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "username/password",
"props": [
{
"p": "payload",
"v": "Basic cG9zdG1hbjpwYXNzd29yZA==",
"vt": "str"
},
{
"p": "topic",
"v": "",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "Basic cG9zdG1hbjpwYXNzd29yZA==",
"payloadType": "str",
"x": 110,
"y": 920,
"wires": [
[
"83ab11cf.d4e498"
]
]
},
{
"id": "f4da489b.4fd4f8",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "https://postman-echo.com/basic-auth",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 450,
"y": 960,
"wires": [
[
"e74e3ac0.7e098"
]
]
},
{
"id": "e74e3ac0.7e098",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 960,
"wires": []
},
{
"id": "eb688d74.2baac8",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "start",
"props": [
{
"p": "payload",
"v": "postman:password",
"vt": "str"
},
{
"p": "topic",
"v": "",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "postman:password",
"payloadType": "str",
"x": 130,
"y": 1080,
"wires": [
[
"75d0f4ba.cc777c"
]
]
},
{
"id": "a97aef59.20c1",
"type": "change",
"z": "1223d4fe.449f4b",
"name": "",
"rules": [
{
"t": "set",
"p": "url",
"pt": "msg",
"to": "http://www.google.com:",
"tot": "str"
},
{
"t": "set",
"p": "method",
"pt": "msg",
"to": "GET",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 380,
"y": 160,
"wires": [
[
"fbd6fa56691b89e3"
]
]
},
{
"id": "d180a009.0e8438",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "make request",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 160,
"wires": [
[
"a97aef59.20c1"
]
]
},
{
"id": "3fc88bb2.6d47c4",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"tls": "",
"x": 390,
"y": 220,
"wires": [
[
"69b22446.d5e7ec"
]
]
},
{
"id": "69b22446.d5e7ec",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 220,
"wires": []
},
{
"id": "2c4b4317.b66284",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "make request",
"props": [
{
"p": "url",
"v": "http://jsonplaceholder.typicode.com/",
"vt": "str"
},
{
"p": "method",
"v": "GET",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 150,
"y": 380,
"wires": [
[
"e0f8c5e7b0835864"
]
]
},
{
"id": "417c365c.2325a",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "http://jsonplaceholder.typicode.com/",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 370,
"y": 380,
"wires": [
[
"b2e12e99.d368e"
]
]
},
{
"id": "87b7038e.4e6fd8",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 380,
"wires": []
},
{
"id": "193d0e24.0c9e0a",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "make request",
"props": [
{
"p": "query",
"v": "posts?userId=1",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 150,
"y": 440,
"wires": [
[
"63c89f05ab2ef027"
]
]
},
{
"id": "2df5ab2f.f18dcc",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "GET",
"ret": "txt",
"url": "http://jsonplaceholder.typicode.com/{{{query}}}",
"tls": "",
"x": 350,
"y": 520,
"wires": [
[
"2a1bdf74.4c6d58"
]
]
},
{
"id": "2a1bdf74.4c6d58",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 520,
"wires": []
},
{
"id": "286d1fc2.286fb8",
"type": "change",
"z": "1223d4fe.449f4b",
"name": "",
"rules": [
{
"t": "set",
"p": "query",
"pt": "msg",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 360,
"y": 480,
"wires": [
[
"2df5ab2f.f18dcc"
]
]
},
{
"id": "5baa64d4.9a861c",
"type": "function",
"z": "1223d4fe.449f4b",
"name": "set headers",
"func": "msg.payload = \"data to post\";\nmsg.headers = {};\nmsg.headers['Authorization'] = 'Basic cG9zdG1hbjpwYXNzd29yZA==';\nreturn msg;\n",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 290,
"y": 1020,
"wires": [
[]
]
},
{
"id": "83ab11cf.d4e498",
"type": "change",
"z": "1223d4fe.449f4b",
"name": "",
"rules": [
{
"t": "set",
"p": "headers['Authorization']",
"pt": "msg",
"to": "payload",
"tot": "msg"
},
{
"t": "set",
"p": "url",
"pt": "msg",
"to": "https://postman-echo.com/basic-auth",
"tot": "str"
},
{
"t": "set",
"p": "method",
"pt": "msg",
"to": "GET",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 440,
"y": 900,
"wires": [
[
"e74e3ac0.7e098",
"03b923b0709b6778"
]
]
},
{
"id": "75d0f4ba.cc777c",
"type": "base64",
"z": "1223d4fe.449f4b",
"name": "",
"action": "str",
"property": "payload",
"x": 280,
"y": 1080,
"wires": [
[
"1b5e75cb.eafcba"
]
]
},
{
"id": "1b5e75cb.eafcba",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 750,
"y": 1080,
"wires": []
},
{
"id": "ed2080da.db06f8",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "start flow",
"props": [
{
"p": "payload"
},
{
"p": "url",
"v": "https://postman-echo.com/basic-auth",
"vt": "str"
},
{
"p": "method",
"v": "GET",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "Basic cG9zdG1hbjpwYXNzd29yZA==",
"payloadType": "str",
"x": 140,
"y": 800,
"wires": [
[
"d1ddab718f0e8535"
]
]
},
{
"id": "f8f09bc2.75bd88",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "authentication",
"method": "GET",
"ret": "txt",
"url": "https://postman-echo.com/basic-auth",
"tls": "",
"x": 380,
"y": 800,
"wires": [
[
"5d51eade.d4a07c"
]
]
},
{
"id": "5d51eade.d4a07c",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 710,
"y": 800,
"wires": []
},
{
"id": "5118374f.b054c",
"type": "inject",
"z": "1223d4fe.449f4b",
"name": "Request",
"props": [
{
"p": "query",
"v": "posts?userId=1",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 140,
"y": 580,
"wires": [
[
"2fbb0e08b381a3f8"
]
]
},
{
"id": "a601a0f9.f650e8",
"type": "http request",
"z": "1223d4fe.449f4b",
"name": "Request JSON Data",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "http://jsonplaceholder.typicode.com/{{{query}}}",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 180,
"y": 640,
"wires": [
[
"3c30ab95.191484"
]
]
},
{
"id": "3c30ab95.191484",
"type": "change",
"z": "1223d4fe.449f4b",
"name": "",
"rules": [
{
"t": "set",
"p": "Title",
"pt": "msg",
"to": "payload[0].title",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 450,
"y": 640,
"wires": [
[
"1222c073.7460b"
]
]
},
{
"id": "1222c073.7460b",
"type": "debug",
"z": "1223d4fe.449f4b",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "Title",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 720,
"y": 640,
"wires": []
},
{
"id": "63de6e51448c0942",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 370,
"y": 60,
"wires": [
[
"48d45ba0.3b68c4"
]
]
},
{
"id": "fbd6fa56691b89e3",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 570,
"y": 160,
"wires": [
[
"69b22446.d5e7ec"
]
]
},
{
"id": "e0f8c5e7b0835864",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 370,
"y": 340,
"wires": [
[
"b2e12e99.d368e"
]
]
},
{
"id": "63c89f05ab2ef027",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "GET",
"ret": "txt",
"url": "http://jsonplaceholder.typicode.com/{{{query}}}",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 550,
"y": 440,
"wires": [
[
"2a1bdf74.4c6d58"
]
]
},
{
"id": "03b923b0709b6778",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 730,
"y": 900,
"wires": [
[
"e74e3ac0.7e098"
]
]
},
{
"id": "d1ddab718f0e8535",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "use",
"ret": "txt",
"url": "",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 370,
"y": 840,
"wires": [
[
"5d51eade.d4a07c"
]
]
},
{
"id": "2fbb0e08b381a3f8",
"type": "www-request",
"z": "1223d4fe.449f4b",
"name": "",
"method": "GET",
"ret": "obj",
"url": "http://jsonplaceholder.typicode.com/{{{query}}}",
"follow-redirects": true,
"persistent-http": true,
"tls": "",
"x": 450,
"y": 580,
"wires": [
[
"3c30ab95.191484"
]
]
}
]
Comments