Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

No need full URI in request #4

@r3bers

Description

@r3bers

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions