Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quick Answer

An endpoint is the URI that references an accessible resource on a server. In the context of web APIs, an endpoint references specific code that handles the request and returns an appropriate response.

...

In this format, the host portion of the URI (e.g., https://www.examples.org) is removed and only the path is referenced (e.g., /customers). The host information is usually documented elsewhere and might provide . Often multiple hosts are listed (ie.eg., one for testing and one for production) , which makes documenting endpoints using the only with path information more sensible.