Bird
0
0

What does a 301 redirect indicate in a REST API?

easy📝 Conceptual Q11 of 15
Rest API - HTTP Status Codes
What does a 301 redirect indicate in a REST API?
AThe resource has been deleted.
BThe resource is temporarily unavailable.
CThe resource has moved permanently to a new URL.
DThe resource requires authentication.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the meaning of 301 redirect

    A 301 redirect means the resource has moved permanently to a new location.
  2. Step 2: Compare with other options

    Other options describe different HTTP statuses, not 301 redirect.
  3. Final Answer:

    The resource has moved permanently to a new URL. -> Option C
  4. Quick Check:

    301 redirect = permanent move [OK]
Quick Trick: 301 means permanent move, 302 means temporary move [OK]
Common Mistakes:
  • Confusing 301 with 302 redirect
  • Thinking 301 means resource deleted
  • Assuming 301 is for authentication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes