-
Couldn't load subscription status.
- Fork 35
Open
Description
In the BaseClient.php the list method uses LIST as the HTTP Method.
In the Hashicorp Vault documentation all the list endpoints use a standard GET HTTP method. So I get an Error when sending the call.
It just needs to change from this:
/**
* @param string $path
*
* @return Response
* @throws InvalidArgumentException
* @throws ClientExceptionInterface
*/
public function list(string $path = ''): Response
{
return $this->responseBuilder->build($this->send('LIST', $path));
}To this:
/**
* @param string $path
*
* @return Response
* @throws InvalidArgumentException
* @throws ClientExceptionInterface
*/
public function list(string $path = ''): Response
{
return $this->responseBuilder->build($this->send('GET', $path));
}Should be not a big deal. :)
Metadata
Metadata
Assignees
Labels
No labels