Hi Brandon,
Thanks for looking at this:
Output from Webhook
{
“time”: “2017-08-16T02:14:53.673Z”,
“data”: {
“path”: “/”,
“method”: “post”,
“headers”: {
“content-length”: “291”,
“accept-language”: “fr”,
“content-type”: “application/json”,
“accept-encoding”: “gzip,deflate”,
“user-agent”: “SIGFOX”,
“accept-charset”: “UTF-8;q=0.9,*;q=0.7”,
“x-forwarded-proto”: “https”,
“x-forwarded-for”: “185.110.97.11”
},
“query”: {},
“body”: {
“device”: “2BF177”,
“time”: “1502849692”,
“duplicate”: “false”,
“snr”: “29.60”,
“station”: “35F9”,
“data”: “43090c840502f7fff4ff0201”,
“avgSnr”: “38.59”,
“lat”: “-37.0”,
“lng”: “175.0”,
“rssi”: “-114.00”,
“seqNumber”: “2395”,
“ack”: false
},
“replyId”: “59938952269684000617403e.BkpLdXE8W.By8i9XbuWW”
},
“applicationId”: “598d41e8bc99f30006dd1fd6”,
“triggerId”: “59938952269684000617403e”,
“triggerType”: “webhook”,
“relayId”: “000000000000000000000000”,
“relayType”: “public”,
“flowVersion”: “develop”,
“flowId”: “59939dc12696840006174041”,
“flowName”: “Webhook 177”,
“applicationName”: “Sigfox”,
“glocals”: {}
}
Output after function
{
“time”: “2017-08-16T02:14:53.673Z”,
“data”: {
“path”: “/”,
“method”: “post”,
“headers”: {
“content-length”: “291”,
“accept-language”: “fr”,
“content-type”: “application/json”,
“accept-encoding”: “gzip,deflate”,
“user-agent”: “SIGFOX”,
“accept-charset”: “UTF-8;q=0.9,*;q=0.7”,
“x-forwarded-proto”: “https”,
“x-forwarded-for”: “185.110.97.11”
},
“query”: {},
“body”: {
“device”: “2BF177”,
“time”: “1502849692”,
“duplicate”: “false”,
“snr”: “29.60”,
“station”: “35F9”,
“data”: “43090c840502f7fff4ff0201”,
“avgSnr”: “38.59”,
“lat”: “-37.0”,
“lng”: “175.0”,
“rssi”: “-114.00”,
“seqNumber”: “2395”,
“ack”: false,
“temperature”: 255
},
“replyId”: “59938952269684000617403e.BkpLdXE8W.By8i9XbuWW”
},
“applicationId”: “598d41e8bc99f30006dd1fd6”,
“triggerId”: “59938952269684000617403e”,
“triggerType”: “webhook”,
“relayId”: “000000000000000000000000”,
“relayType”: “public”,
“flowVersion”: “develop”,
“flowId”: “59939dc12696840006174041”,
“flowName”: “Webhook 177”,
“applicationName”: “Sigfox”,
“globals”: {}
}
Thanks
Ray