Which HTTP status code indicates a successful REST API request?
Choose an answer
Tap an option to check your answer.
Correct answer: 200.
Why this is the answer
The correct answer is 200. This HTTP status code, specifically "200 OK," signifies that the request has succeeded. For a REST API, this means the server successfully processed the client's request and is returning the requested data or confirming the action. 301 (Moved Permanently) indicates that the requested resource has been permanently moved to a new URL. 404 (Not Found) means the server could not find the requested resource. 500 (Internal Server Error) indicates a generic error on the server side, preventing it from fulfilling the request.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed