http response codes 500 code example

Example 1: 500 html error

500 - Internal Server Error server error response code indicates that
	  the server encountered an unexpected condition that prevented
      it from fulfilling the request. This error response is a generic
      "catch-all" response.

Example 2: 200 error code

The HTTP 200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default. The meaning of a success depends on the HTTP request method: GET : The resource has been fetched and is transmitted in the message body.

from developer.mozilla.org

Tags:

Misc Example