This repository was archived by the owner on Dec 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
No need full URI in request #4
Copy link
Copy link
Open
Labels
Description
There is Full URI in constants. But better be URI without base.
| private const URI = 'https://api.bittrex.com/api/v1.1/account/getbalances'; |
Used here:
| $request = $this->getHandledRequest(new Request(self::METHOD, self::URI, [])); |
And here:
| $request = $this->getHandledRequest(new Request(self::METHOD, self::URI, [])); |
According GuzzleHttp Docs Base URI used on Client Class, and in Request only need URI.
I start using BASE_URI in v3 implementation of Authentication Class and catch this error like doubling BASE_URI in PreSign