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

I'm wondering whether what you showed here is REST. I maybe meets some indempotent guidelines, but it should be something more standard like:

``` /pages/ POST create a page /pages/{id} PUT update a page /pages/{id} GET get a page ```

as looking at some standard JS code, if you stick to this theme, you will some functionality for free, like getting an array of items after GET is done for you etc.



Hmm yes right now I'm not sure if it's strictly REST or not :- )

I keep forgetting exactly what REST means. The web app is happy and the ones who use it too, even if ... maybe not strictly REST. :- )




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

Search: