09-23-2016 08:40
09-23-2016 08:40
I started the process of (getting a token)over using the Fitbit API debug tool, Authorized myself, plugged the code in, sent the curl command to Hurl.it, and got an "invalid client" or an "invalid request" message on different occasions. What could be the problem?
09-23-2016 10:49
09-23-2016 10:49
The invalid_client error means you don't have a proper Authorization header. Did you put your client id and client secret into the OAuth 2 tutorial form?
The redirect_uri mismatch error is a bug we're aware of with Hurl.it. You should use the copy the raw cURL command and paste into terminal instead.
09-23-2016 10:55
09-23-2016 10:55
Thanks Jeremiah. Which terminal are you referring to? I am new to this, appreciate your help.
And on the Authorization header topic, I encoded the client id and client secret in Base 64 before I stuck it in the header as instructed.
09-23-2016 11:17
09-23-2016 11:17
On macOS, there is an app called Terminal.
I'm not sure how to use cURL in Windows, but I think it's included as part of Windows 10 Anniversary Edition's BASH support.