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

YES! (though I'd quibble with s/sometimes/usually/)

To reply to my siblings:

HTTP is in practice a great transport protocol, because of the world we live in. That's an affront to ivory tower engineering (my favorite kind), but it's a lot better than failure to ship (or shipping something that only works under non-existent conditions).

And RPC needs some kind of container protocol, and SOAP is one possibility, sure. Keep it the hell away from ME, but it's one option. The sane option is to do just what all these so-called RESTful services actually do (modulo not using GET when you should POST), with pleasant-but-not-dogmatic URIs, and JSON, and so forth, and just stop calling it REST, because it's not REST at all. Or call it whatever you like, but get used to endless trolling from pedants like me.

Aside from the bad HTTP verb choice, isn't TFA a pretty reasonable API implementation?

Of course, as sillysaurus noted.... TFA doesn't call it RESTful at all... that was just the HN headline. Oh how we've been trolled.



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

Search: