Popular posts from this blog
Endpoints vs Resources
Endpoints vs Resources Difference between Endpoints & resources: Resource is a subset of Endpoint. An endpoint by itself is the location where a service can be accessed. The term endpoint is focused on the URL that is used to make a request. The term resource is focused on the data set that is returned by a request. The terms resource and endpoint are often used synonymously. But in fact they do not mean the same thing. Resources: Architecturally, resources are data sets that an API allows you to work with, and which are accessible via endpoints. They have relationships with other resources as well as a set of operations that you can carry out on them. Endpoints Endpoints are URIs that introduce the location of the resource that you want to do a CRUD operation on. The relation between a resource, an endpoint, and an HTTP method is the following: What → Where → Action Examples: Resources : /gmail/about/# ( Base URL: https://www.google.com ) Endpoin...
Comments
Post a Comment