The `API` always expects `endpoint`. But sometimes you want to make a request to the `base_url`. So the endpoint must be optional (None by default). The urljoin must be used to join `base_url` and `endpoint`.
The
APIalways expectsendpoint.But sometimes you want to make a request to the
base_url.So the endpoint must be optional (None by default).
The urljoin must be used to join
base_urlandendpoint.