08-28-2022 07:56
08-28-2022 07:56
Hello,
I am a researcher and am very new to Fitbit Web API development so forgive me if this seems basic.
I have registered my research project and received an OAuth 2.0 Client ID and have also been granted intraday access. I am trying to access HRV data using this tutorial: https://dev.fitbit.com/build/reference/web-api/intraday/get-hrv-intraday-by-date/, but when I paste the CURL example (with my user-id and the access token I generated using the OAuth 2.0 tutorial page) into my terminal, I get the error “curl: (3) URL using bad/illegal format or missing URL”.
I am not sure where I am going wrong, can someone please point me in the right direction?
Many thanks,
Ella
09-01-2022 14:50
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.
09-01-2022 14:50
Hi @Ella36
Try using the Fitbit Web API Explorer tool to obtain the correct curl statement. https://dev.fitbit.com/build/reference/web-api/explore/. The HRV Intraday endpoints are listed.
Gordon
Best Answer