Wednesday, May 9, 2018

Get all from a REST endpoint.

A GET with an id should return a specific object. Should a GET without an id return an array of everything for that type? Maybe so. That was suggested today at work. We are also using numeric ids and experimenting with having an id of zero try to find the latest, most relevant single match by another means. Fun stuff.

No comments:

Post a Comment