3 ms·
> In a nutshell, REST APIs (which are a type of web API) involve requests and responses, not too unlike visiting a web page. You make a request to a resource st
by remram 5y ago
> In a nutshell, REST APIs (which are a type of web API) involve requests and responses, not too unlike visiting a web page. You make a request to a resource stored on a server, and the server responds with the requested information. The protocol used to transport the data is HTTP.
That would be an "HTTP API" pal.
I know there's disagreement about what the REST constraints exactly are, and how strict we should be about it. The word has been thrown around for long enough that the meaning diluted. But to truly not know there's meaning at all...
Like saying "writing code is called DevOps".
- omegalulw 5y agoOther than normal CDN stuff, are REST APIs even common today? IMO everyone wants to track users, sell targeted ads etc which requires maintaining state and eventually you diverge from REST.
- remram 5y agoHTTP APIs are very common, I don't think anybody is trying to track users through them. I don't think whether they are REST or not makes any difference for tracking purposes, the client can always include a user/session ID.