Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between a server and endpoint?

Tags:

endpoint

According to this thread, the endpoint is the URL where your service can be accessed by a client application.

But, it sounds to me like a kind of server. In that case, an endpoint will be always an URL? what is the difference between an endpoint and a server?

like image 592
Alfrex92 Avatar asked Jul 18 '18 09:07

Alfrex92


People also ask

Is a server an endpoint?

An endpoint is any device that is physically an end point on a network. Laptops, desktops, mobile phones, tablets, servers, and virtual environments can all be considered endpoints.

What is host and endpoint?

A host endpoint resource ( HostEndpoint ) represents one or more real or virtual interfaces attached to a host that is running Calico. It enforces Calico policy on the traffic that is entering or leaving the host's default network namespace through those interfaces.

What is difference between API and endpoint?

It's important to note that endpoints and APIs are different. An endpoint is a component of an API, while an API is a set of rules that allow two applications to share resources. Endpoints are the locations of the resources, and the API uses endpoint URLs to retrieve the requested resources.

What is an endpoint web server?

A web service endpoint is an entity, processor, or resource that can be referenced and to which web services messages can be addressed. Endpoint references convey the information needed to address a web service endpoint. Clients need to know this information before they can access a service.


2 Answers

An endpoint is a URL which allows you to access a (web) service running on a server. A server(program) may actually host multiple such services exposing them through different endpoint.

e.g. To access twitter search API, https://api.twitter.com/1.1/search/tweets.json is the endpoint. But the same server also has another endpoint https://api.twitter.com/oauth/authenticate for authentication. Both the endpoints are hosted on the same server which runs on a machine with domain name twiter.com

like image 100
Kumar Avatar answered Oct 14 '22 00:10

Kumar


server is something who host your side/data or run multiple services, like php, mysql, etc

end point is where something points like we say end point of phpmyadmin, and might be its a end point of some api.

api.example.com/getusers
like image 1
M Usman Nadeem Avatar answered Oct 14 '22 00:10

M Usman Nadeem