HTTP Response Codes
  • HTTP Response Codes

    HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Test your knowledge of HTTP response codes in this quiz.

    10 Questions
  • 1

    HTTP Response Codes

    HTTP Response Codes are essential for handling exceptions in Web APIs. Which one of the followings are valid response codes?

  • 2

    1xx Response Code

    HTTP response code starting from 1xx includes,

  • 3

    2xx Success

    201 Created response indicates that,

  • 4

    2xx Success

    200 OK is a standard response for a successful HTTP request when nothing goes wrong.

  • 5

    4xx Client Error

    Which of the following response is received when the user authentication has failed.

  • 6

    4xx Client Error

    HTTP response code starting with 4xx means that the server has experienced an error.

  • 7

    3xx Redirectional

    Which response code indicates new permanent location of the requested resource?

  • 8

    4xx Client Error

    400 Bad Request response is returned when,

  • 9

    5xx Server Error

    500 Internal Server Error indicates failure in fulfilling a (valid) request.

  • 10

    5xx Server Error

    502 Bad Gateway is returned when,