Ivan-Johnson / LifeLogServer

A DIY life tracking app
0 stars 0 forks source link

Should each endpoint have its own URL? #30

Closed Ivan-Johnson closed 4 years ago

Ivan-Johnson commented 4 years ago

In particular, why are "/api/v1/weight/record" and "/api/v1/weight/get" separate URLs when they could both just be "/api/v1/weight"? The different HTTP request methods are sufficient to distinguish between the different endpoints.