Overview

It’s address where your desired resource is located.

  • We make a request to an API, using that API’s URL
  • URLs of an API can be divided into 2 portions
    • Base URL
      • Portion of the full URL that will not change no matter the resource
      • Every request will start with this
    • Endpoint
      • The specific resource I want to retrieve
      • Added after the base URL

Examples

// base URL
https://scrimba.com/api

// endpoints
/courses
/users
/resources/challenges