Have you considered adding a X-Query-Remaining Header?

  • 1
  • Question
  • Updated 3 years ago
Have you considered adding a
X-Queries-Remaining-{Day,Minute} Header to the replies to API-Requests? (Which would obviously return the number of queries left under the current plan.
That way, it would be easier to make sure requests stay within the Limits
Also, what is the reply if queries are exceeded? 429 Too many requests?
Photo of Thorsten

Thorsten

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 328 Posts
  • 35 Reply Likes
You will generally always get a 200

please seeĀ 
https://console.getsatisfaction.com/weatherapi/conversations/error-code-list
for a list of codes returned.

These are all in the json response.

There are no plans to implement more headers.