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

There's a joke somewhere about it desperately needing to support PATCH methods


The delete verb would be preferable, imo.


  DELETE /congress HTTP/1.1
  Host: api.congress.gov
  Accept-Language: en

  HTTP/1.1 200 OK

Wouldn't that be something?


more likely response codes:

506 Variant Also Negotiates (you get pawned off on a staffer)

409 Conflict

And, of course, the most relevant: 402 Payment Required


You missed this -> 451 Unavailable For Legal Reasons


And, of course, the most relevant: 402 Payment Required

Good point!


Wouldn't it be a 204 Not Found? ;)


204 would be No Content

404 would be Not Found


That would be the the real life equivalent of a GTA V mod menu.




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

Search: