Re:Microsoft REST API Guidelines
by jmull on Friday November 22, 2019 @04:39PM
(#21610379)
How could someone use an API correctly without understanding it?
[ Parent
| on HN ]
The client SDK exposes just the actual API and not the web API which is typically much more complex.
I really don’t want to worry about setting http headers to make an add-if-not-exists call for example. The API in a client library with a method “TryAdd(...)” is understandable as an API, and the setting of headers and 4XX code you might receive on a duplicate is just returned as false.