whazzmaster / fitgem-client

Example client use of the fitgem oauth library to integrate with fitbit.com
MIT License
35 stars 9 forks source link

Update gist urls to githubusercontent.com #17

Open dkapadia opened 9 years ago

dkapadia commented 9 years ago

Looks like github issues a redirect from gist.github.com -> gist.githubusercontent.com, which curl does not follow by default. This results in no file being downloaded when you copy/paste the curl commands in this doc.

An alternative would be to add the -L flag to curl to follow redirects.

Seems like the change was introduced here: https://developer.github.com/changes/2014-04-25-user-content-security/