Re:Congress.gov API
by goatcode on Thursday September 08, 2022 @03:48PM
(#32771061)
The delete verb would be preferable, imo.
[ Parent
| on HN ]
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? ;)