diff --git a/src/MyParcelComApi.php b/src/MyParcelComApi.php index 981bce9..cc71262 100644 --- a/src/MyParcelComApi.php +++ b/src/MyParcelComApi.php @@ -1148,7 +1148,7 @@ public function doRequest( array $headers = [], $ttl = self::TTL_NO_CACHE, ): ResponseInterface { - if (!str_starts_with($uri, $this->apiUri)) { + if (str_starts_with($uri, '/')) { $uri = $this->apiUri . $uri; } $headers += $this->authenticator->getAuthorizationHeader() + [