07-20-2017 11:56
07-20-2017 11:56
Hello - I am developing a Fitbit app using Node, and can't seem to add a subscriber.
To handle Fitbit's GET request with the correct token, I have
app.get('/?verify=the_correct_token', function (req, res) {
res.sendStatus(204);
});
Is this correct? I realize there is a second GET request with an incorrect token but I'd like to just start with getting one of them to work.