I have the next components: a set of nearables, a BLE wifi gatewy and a nodejs server.
I have also linked to BLE to send the data received from nearable to server. The BLE does a post with the data it receives and on the request I do receive some data, but the request body is empty.
I’ve tried using body-parser, and set the server to parse the request to text, with " app.user(bodyParser.text()), and this way I do get some data in the request body, but I don’t know how to read it.
I will attach a picture with the request body.
Found it. here the link in case somebody will need it.
If you’re using Node.js, you may also want to look into this library:
It implements the iBeacon and Nearable scanners (: