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

Web API syntax

Hi

I am new to developing and Web APIs. My question is, how do I make a https request? For example below is an example request. How do I put it into javascript code?

GET https://api.fitbit.com/1.2/user/-/sleep/date/2017-04-02.json

I would be grateful if someone could post a working example of a request.

I tried to use the OAth example but it didn't work.

Thank you in advance

Best Answer
0 Votes
1 REPLY 1

Hi @alexnewb101,

 

Welcome to the forums!

 

If you have the time, please check out the Community Resources page for example code from a variety of languages shared by our Community.

Best Answer
0 Votes