4 ms·
I wish Amazon hadn't given up even trying to do RESTful APIs. Nowadays they just shrug and bang it out RPC style (payload is JSON instead of XML, but the song r
by 6cxs2hd6 13y ago
I wish Amazon hadn't given up even trying to do RESTful APIs. Nowadays they just shrug and bang it out RPC style (payload is JSON instead of XML, but the song remains the same).
e.g. How do you delete a stream?
Is it a DELETE request for, say, /streams/<stream-id> ?
No, it's a POST to "/" with an entity:
{
"StreamName": "string"
}
Sigh.
- dalore 13y agoNot all proxies support DELETE and PUT. But you're right, it should support both.
- mfenniak 13y agoAmazon success is a strong indicator: RESTful APIs don't really matter. You can build a very successful business without focusing on the format of your APIs, as long as you build something valuable.
- atwebb 13y agoIt helps if you're already one of the biggest players. A smaller company may be able to make a more attractive offering with REST.