Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Returning a 404 makes more sense and you can still include a response body

  status: 404, 
  body: {
      "result": false,
      "errorMessage": "No employee found for ID 100"
  }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: