Hacker News new | ask | show | jobs
by SimHacker 5250 days ago
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.
1 comments

REST is not about pretty URLs. In fact, you could build a great RESTful API with pretty hideous looking URLs.