Lesson Progress
0% Complete

Throughout these lessons, we will swap between using URL and EndPoint, as they vary across Public APIs. But what is their difference?

A “domain” is a string of text that maps to an IP address. The domain is only related to “where” the server is. For instance: “google.co.uk” takes us to Google. That is a domain.

But if you search for something on Google, the URL changes to the following: “google.co.uk/search“. This URL is called an EndPoint. The domain is still “google.co.uk”.

EndPoints are typically the entire URL, whereas a domain only maps to the initial server location.