Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: