There are many places where a provider/model sets the various API endpoint paths. Each places concatenates the path and uses things like ltrim(). It's redundant and opens up for simple mistakes. It would be great to have an AbstractApiProvider class (and likely a corresponding provider interface) that is aware of a base URL and has an AbstractApiProvider::url($path) counterpart, which cleans this up.