public function post(
        string $endpoint,
        array $options
    )
    {
        $this->streamBody = $this->client
            ->post($endpoint, $options)
            ->getBody();
    }
public function post(
        string $endpoint,
        array $options
    )
    {
        $this->streamBody = $this->client
            ->post($endpoint, $options)
            ->getBody();
    }
public function post ( string $ endpoint , array $ options ) { $ this -> streamBody = $ this -> client -> post ( $ endpoint , $ options ) -> getBody ( ) ; }
API Post request

@param string $endpoint
@param array $options
@return mixed|\Psr\Http\Message\StreamInterface
API Post request