basvandorst / StravaPHP

Strava API REST client with OAuth authentication
MIT License
184 stars 67 forks source link

getStreamsRoute returns null. #39

Closed paullb514 closed 6 years ago

paullb514 commented 6 years ago

I'm not sure if this is an issue with the library or Strava but the getStreamsRoute is returning null. Doing some dumping, it appears as thought the URL being called is returning a 301 even though it is correct according to the Strava documentation. (I confirmed the ID being called was valid via the Strava website)

fbonzon commented 6 years ago

We need to check. Thanks for reporting.

paullb514 commented 6 years ago

Culprit was a trailing slash. Added fix in Pull request #41