Programming help - ...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Programming help - vaguely bike related

1 Posts
1 Users
0 Reactions
76 Views
Posts: 0
Free Member
Topic starter
 

Been messing around with the Strava API. Calling one of their methods via the browser I get one result. When I call it via cURL (either commandline or in PHP) I get another. I have a support ticket open but as it's part of their v3 API I doubt they'll support it.

Method in question:
http://app.strava.com/api/v3/segments/details?ids=1232588,886642,854196

A PR section appears via the browser but not via cURL (nor using a file_get_contents() attempt either)

Seems like a random place to ask but as STW is the home of the IT professional it can't hurt to ask as I'm pulling my hair out. Has this sort of thing happened to anyone else? I should say I've pushed the same headers in as in my browser but to no effect.


 
Posted : 25/07/2012 2:29 pm
Posts: 0
Free Member
Topic starter
 

Never mind. Just realised what the problem is. It has no idea who I am that way but does when I'm logged in.

Idiot.


 
Posted : 25/07/2012 2:33 pm