
本文共 1350 字,大约阅读时间需要 4 分钟。
-
endpoint
Application Programm Interface (API) permits the interaction between two systems.
In simple terms, an API endpoint is the point entry in a communication channel when two systems are interacting.
It refers to touchpoints of the communication between an API and a server.
The
endpoint
can be viewed as the means from which the API can access the resources they need from a server to perform their task.We all know that APIs operate through ‘requests’ and ‘responses’. And when an API requests to access data from a web application or server, a response is always send back. The location where the API sends a request and where the response emanates is what is known as an endpoint. Reputedly, the endpoint is the most crucial part of the API documentation since it’s what the developer will implement to make their requests.
-
API vs Endpoint
An API refers to a set of protocols and tools that allow interaction between two different applications. In simple terms, it is a technique that enables third-party vendors to write programs that can easily interface with each other.
On the other hand, an endpoint is the place of interaction between applications.
API refers to the whole set of protocols that allows communication between two systems while an endpoint is a URL that enables the API to gain access to resources on a server.
-
References