HTTP Status Codes

Use the following endpoint to get a specific HTTP status code:

http.pm/status/[code]

Examples:

  • http.pm/status/200 - Returns a 200 OK status
  • http.pm/status/404 - Returns a 404 Not Found status
  • http.pm/status/500 - Returns a 500 Internal Server Error status

To get the response in JSON format, add the format=json query parameter:

http.pm/status/[code]?format=json