Re:Congress.gov API
by drstewart on Thursday September 08, 2022 @03:42PM
(#32770992)
There's a joke somewhere about it desperately needing to support PATCH methods
[ Parent
| on HN ]
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
Re:Congress.gov API
by speedylight on Thursday September 08, 2022 @09:26PM
(#32774221)
That would be the the real life equivalent of a GTA V mod menu.