07-20-2017 11:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Jogger
1
0
0
07-20-2017 11:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

Labels:
- Labels:
-
JavaScript
0 REPLIES 0
