Get your own Node server
Success response example:
Success: OK
{ username: 'john_doe', email: 'john@example.com' }

Error response example:
Error 404: Not Found
Message: User not found in database

Invalid response example (would be caught at compile time in TypeScript):
Invalid HTTP success response: status 299 with text "Custom Status" is not defined in our types

In TypeScript, this would be enforced at compile time:
// Invalid: status must be one of: 200, 201, 204
const badResponse: HTTPSuccess = {
  status: 202, // Error: Type '202' is not assignable to type '200 | 201 | 204'
  statusText: "OK",
  data: {}
};