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

The suggestion at the end looks inconsistent:

  /api/v1/employees/100 -> StatusCode: 200
vs

  /api/v11/employees/1 -> StatusCode: 404
Should these be both "$thing not found" errors and indicated in the same way? The first example is "employee not found" and the 2nd is "API version not found" :)


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

Search: