Bird
0
0

Which of the following is a correct way to express a rate limit header in an HTTP response?

easy📝 Syntax Q12 of 15
Rest API - Rate Limiting and Throttling
Which of the following is a correct way to express a rate limit header in an HTTP response?
AX-Limit-Rate: 1000 requests
BX-RateLimit-Limit: 1000
CLimit-Rate: 1000
DRateLimit: 1000 per minute
Step-by-Step Solution
Solution:
  1. Step 1: Recall standard rate limit header names

    The common header to indicate rate limits is X-RateLimit-Limit.
  2. Step 2: Check the format correctness

    X-RateLimit-Limit: 1000 uses the correct header name and a numeric limit value, which is standard.
  3. Final Answer:

    X-RateLimit-Limit: 1000 -> Option B
  4. Quick Check:

    Standard header = X-RateLimit-Limit [OK]
Quick Trick: Look for standard header names starting with X-RateLimit [OK]
Common Mistakes:
  • Using incorrect header names like RateLimit or Limit-Rate
  • Adding extra words in header value
  • Confusing header format with body content

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes