我有一个问题是由于工作中的讨论,一个人说是,另一个人说不,正确的答案是什么?
Lets take REST
API's for instance as the example here.
An Endpoint
is an address that you call in order to GET / DELETE / PUT or POST data TO or FROM the service that is providing the API.
Imagine an Endpoint to be like a phone-number.
If you call 911
someone will likely answer with "Hey, whats your emergency?"
But if you call 000091100000
the likelihood of someone answering with "Hey, whats your emergency?" would probably decrease.
So, an endpoint is usually what you would refer to as the "address" to an API-function.
Eg. https://api.yourDomain.com/users/get/details/query?age=25
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.