A. 200
In HTTP (Hypertext Transfer Protocol), status codes are used to indicate the outcome of a request. When a client (such as a web browser) makes a request to a server (such as a web server), the server responds with a status code and a message.
A successful REST API request typically returns a status code of 200 (OK). This indicates that the request was successful and that the server was able to process it and provide a response.
Here are some other common HTTP status codes:
301 (Moved Permanently): This status code indicates that the requested resource has been permanently moved to a new location.
404 (Not Found): This status code indicates that the requested resource could not be found.
500 (Internal Server Error): This status code indicates that an error occurred on the server while processing the request.
In summary, the HTTP status code returned after a successful REST API request is 200 (OK).
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Client Error - 4xx
The 4xx class of status code is intended for cases in which the client seems to have erred. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition.
Server Error - 5xx
Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has erred or is incapable of performing the request. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition.
Informational - 1xx
This class of status code indicates a provisional response. There are no 1xx status codes used in REST framework by default.
Successful - 2xx
This class of status code indicates that the client's request was successfully received, understood, and accepted.
Redirection - 3xx
This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.200-301 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Phonon
Highly Voted 1 year, 10 months ago[Removed]
Most Recent 7 months, 3 weeks agoberpiy1028
1 year, 2 months ago4aynick
1 year, 5 months ago4aynick
1 year, 5 months ago