Oddbean new post about | logout
 Designing an API and we're now struggling on plural or singular objects in our URIs.

GET /resources (returns a list)
GET /resources/thing-id1 (returns a thing)
POST /resource (submits a new thing)

What should I do? Does HMG have any opinion on this? nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk?