Hacker News new | comments | ask | show | jobs | submit login

What would the http code be for "huh?"





400 (Bad Request)

>The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

Some APIs use it for the case when the client passes in invalid data.


417 Expectation Failed?

400

418



Applications are open for YC Summer 2019

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

Search: