Re:How Not to write a "REST" API
by SimHacker on Wednesday February 01, 2012 @01:01PM
(#3539111)
A big dumb mistake this api makes is sending commands and object ids via query parameters, instead of making them part of the url. The url should look like a file path that addresses an object -- the path of the objects shouldn't be in a query parameter. Especially when the object you're addressing is a file that has a logical location specified by a path.
[ Parent
| on HN ]
Re:How Not to write a "REST" API
by jcromartie on Wednesday February 01, 2012 @03:24PM
(#3539730)
REST is not about pretty URLs. In fact, you could build a great RESTful API with pretty hideous looking URLs.