05-01-2021 10:53
05-01-2021 10:53
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
05-03-2021 16:08
05-03-2021 16:08
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.