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

How to use Post on Activities API

I am trying to usePOST https://api.fitbit.com/1/user/-/activities.json

but getting an 400 Bad Request without any other information in the error. I am using 

spring-security-oauth2

library in a spring boot app

 

 

Let me know how to overcome this.

Best Answer
0 Votes
1 REPLY 1

@batlogs You're getting a 400 because you're not setting any parameters. See the documentation on that endpoint to see the POST parameters. Robot Happy

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes