Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difficulty Verifying Subscriber

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.

 

Best Answer
0 Votes
0 REPLIES 0