Overview
Endpoint relates to URL of request.
Note that resource relates to data set returned by request handler.
Simple endpoints:
- /games/jan
- /games/feb
- /games/feb/28
Let us assume all part of "www.play.com". So full url is "www.play.com/games/jan", etc.
Different URL's With Same Endpoint
- /games/feb?outcome=win
- /games/feb?outcome=loss
- /games/feb?sort=dateplayed
Endpoint for all is "/games/feb", but each with a different query string so likely a different response.
References
Coding Fundamentals
(Chapter 501 - Concepts)