11-10-2015 15:26
11-10-2015 15:26
When I get a user's subscriptions and attempt to delete one I'm getting a "MethodNotAllowed". Any idea why the DELETE is not working? My test user has only 1 existing subscription.
Best Answer11-10-2015 17:32
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.
11-10-2015 17:32
Can you share a log of the actual HTTP request that you're making (with the Authorization header redacted)?
Best Answer11-11-2015 13:05
11-11-2015 13:05
Not exactly, but attempting to verify the correct request on one of our servers I can see we have an issue with the VNext .Net HttpClient.DeleteAsync call. It is sending a GET 😞
Thanks for the help @JeremiahFitbit.
Best Answer11-11-2015 22:16
11-11-2015 22:16
I don't think it's likely that anybody else will have this issue but just in case... The issue we had is with the VNext DNX Core. The DeleteAsync is sending a GET instead of DELETE in the HTTP call. Switching to the DNX Mono resolved the issue.