Bird
0
0

Which HTTP header is commonly used to provide the client with a URL to check the status of a long-running operation?

easy📝 Syntax Q3 of 15
Rest API - Advanced Patterns
Which HTTP header is commonly used to provide the client with a URL to check the status of a long-running operation?
AAccept
BContent-Type
CAuthorization
DLocation
Step-by-Step Solution
Solution:
  1. Step 1: Identify headers related to resource URLs

    The Location header tells the client where to find the status or result resource.
  2. Step 2: Understand its use in async operations

    For long-running tasks, Location points to a status endpoint the client can poll.
  3. Final Answer:

    Location -> Option D
  4. Quick Check:

    Status URL header = Location [OK]
Quick Trick: Location header gives status URL [OK]
Common Mistakes:
MISTAKES
  • Confusing Content-Type with URL info
  • Using Authorization which is for security
  • Accept is for client preferences

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes