3 ms·
Yes, he is using an API. Even using curl over HTTP is an API, strictly speaking. But, for simple use cases, what he is doing beats building yet another client
by philomath_mn 3y ago
Yes, he is using an API. Even using curl over HTTP is an API, strictly speaking.
But, for simple use cases, what he is doing beats building yet another client library or defining REST or RPC endpoints.
- rglullis 3y agoHe is defining an HTTP response based on the Accept header, no? The resource is represented by the URL, no? What else is needed for this to be called a "REST API"?