[
{
"id": "6ef0dada.c8d744",
"type": "http response",
"z": "d5163e51.ab661",
"name": "",
"statusCode": "",
"headers": {},
"x": 820,
"y": 160,
"wires": []
},
{
"id": "19cc09d9.98fb96",
"type": "http request",
"z": "d5163e51.ab661",
"name": "",
"method": "POST",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"x": 670,
"y": 160,
"wires": [
[
"246bf6c7.5e560a",
"6ef0dada.c8d744"
]
]
},
{
"id": "e1531bb0.56ed88",
"type": "function",
"z": "d5163e51.ab661",
"name": "",
"func": "msg.headers ={}\n\nmsg.url = "https://qyapi.weixin.qq.com/cgi-bin" + msg.req.url\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 140,
"wires": [
[
"19cc09d9.98fb96",
"e96b5e3e.0a886"
]
]
},
{
"id": "20832e9c.7df0e2",
"type": "http in",
"z": "d5163e51.ab661",
"name": "",
"url": "gettoken",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 150,
"y": 140,
"wires": [
[
"e1531bb0.56ed88",
"a2d01448.23bc68"
]
]
},
{
"id": "282f0d8e.9a4c42",
"type": "http in",
"z": "d5163e51.ab661",
"name": "",
"url": "message/send",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 170,
"y": 180,
"wires": [
[
"e1531bb0.56ed88",
"a2d01448.23bc68"
]
]
}
]