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 statushttp.pm/status/404
- Returns a 404 Not Found statushttp.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