2 ms·
>Incidentally, using a media type like HTML is the only way to build a true REST API. That would definitely be a worthwhile point to consider, if REST didn't h
by SilasX 14y ago
>Incidentally, using a media type like HTML is the only way to build a true REST API.
That would definitely be a worthwhile point to consider, if REST didn't have several completely impractical requirements that people inevitably abandon the moment they try to make their site do anything more complex than (unauthenticated) CRUD.
- stanleydrew 14y agoI don't disagree, I'm just saying that if we had discussions around REST that started with the assumption that you had to use HTML or something like it, then a lot more people would have a better idea of what REST actually is and could start to make more reasoned arguments about its costs and benefits.
- SilasX 14y agoMaybe so, maybe so. But I seriously doubt that that's the reason REST advocates have a hard time explaining the benefits of being unable to use authentication (and attendant sessioning) under a literal reading of "no out of band info". I'd have to say that the major impediment in that case is that there are no benefits.