4 ms·
This is nothing but an ad for a product I'm not even going to mention. REST is not the end-of-all designs for an API. It's a specific type of API that has trem
by hvidgaard 11y ago
This is nothing but an ad for a product I'm not even going to mention.
REST is not the end-of-all designs for an API. It's a specific type of API that has tremendous benefits as long as you need CRUD and simple actions. And if Json does not float your boat, then return whatever you like, REST does not dictate the format of the data. But one thing i certain, I'll continue to not use HTML as a format for an API. It's just the wrong spec for exchanging data. If Json is not enough, XML most certainly is. It's just more work, but it's sound and simple once the schema is defined.