Closed clin407 closed 8 years ago
Is it possible to get header data with your package for all requests? I'm trying to make sure I check headers to get X-Ratelimit-Limit and X-Ratelimit-Usage listed here: https://strava.github.io/api/#rate-limiting so I know how to adjust on my end.
Hi,
access to header data is now available in version 1.2.0.
Just use the getResponseHeaders() or getResponseHeader($header) methods.
getResponseHeaders()
getResponseHeader($header)
Marcus
Is it possible to get header data with your package for all requests? I'm trying to make sure I check headers to get X-Ratelimit-Limit and X-Ratelimit-Usage listed here: https://strava.github.io/api/#rate-limiting so I know how to adjust on my end.