Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

[Feature Request] Add header with number of requests left #7

Open
koresar opened this issue Aug 14, 2019 · 0 comments
Open

[Feature Request] Add header with number of requests left #7

koresar opened this issue Aug 14, 2019 · 0 comments

Comments

@koresar
Copy link

koresar commented Aug 14, 2019

Here are the typical headers returned from the API:

Access-Control-Allow-Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Content-Type: application/json; Charset=UTF-8
Date: Wed, 14 Aug 2019 01:40:08 GMT
Etag: ed4e69176e1e5e6e50088c16cc4bc398
Last-Modified: Wed, 14 Aug 2019 01:33:05 GMT
Server: nginx
Transfer-Encoding: chunked
X-Apilayer-Transaction-Id: 5601092d-97f7-4b2d-a615-d10da23992da
X-Request-Time: 0.016

Could you please add one more header like X-Request-Quota: 99999 which would indicate the number of requests left till the next (monthly) reset?

This opens up a ton of possibilities like better incident investigation, or monitoring and alerts, etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant