Bird
0
0

Which HTTP status code is commonly used to indicate that a long-running operation has been accepted but not completed?

easy📝 Conceptual Q2 of 15
Rest API - Advanced Patterns
Which HTTP status code is commonly used to indicate that a long-running operation has been accepted but not completed?
A200 OK
B500 Internal Server Error
C404 Not Found
D202 Accepted
Step-by-Step Solution
Solution:
  1. Step 1: Recall HTTP status codes for async operations

    The 202 Accepted status means the request was received and accepted but processing is not finished.
  2. Step 2: Match status code to long-running operation response

    This status is standard for indicating async processing started successfully.
  3. Final Answer:

    202 Accepted -> Option D
  4. Quick Check:

    Long-running accepted code = 202 [OK]
Quick Trick: 202 means accepted but still processing [OK]
Common Mistakes:
MISTAKES
  • Choosing 200 which means completed
  • Confusing 404 with async status
  • Using 500 which is an error

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes