title: What is the difference (if any) between a route and an endpoint in the context of a RESTful API?
body: <h2>Question</h2>
  <p>I have a probably rather simple question, but I'm unable to find an answer with nice explanations:</p>
  <p>What is the difference (if any) between a <strong>route</strong> and an <strong>endpoint</strong> in the context of a RESTful API developed within a <code>Node.js</code> / <code>Express</code> application (but these concepts may be broader?!)?<br />
  (Does it relate to URLs in some way?)</p>
  <h3>Example</h3>
  <p>For example, in this article: <a href="https://medium.com/@purposenigeria/build-a-restful-api-with-node-js-and-express-js-d7e59c7a3dfb" rel="nofollow noreferrer">https://medium.com/@purposenigeria/build-a-restful-api-with-node-js-and-express-js-d7e59c7a3dfb</a> we can read:</p>
  <blockquote>
  <p>We imported express which we installed at the beginning of the course, app.get makes a get request to the server with the <strong>route/endpoint</strong> provided as the first parameter, the endpoint is meant to return all the todos in the database.</p>
  </blockquote>
  <p>These concepts are used interchangeably, which makes me confused.<br />
  (please note that I'm a 100% beginner with REST API, nodejs and express but I try to do my best to learn).</p>
  <hr />
  <h3>Edit</h3>
  <p>The two first answers chronologically speaking make me even more confused as they are perfectly antagonistic.</p>