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
Best Answer05-03-2021 16:08
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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.
Best Answer