private function doUpload ($endpoint, $type, $body)
    {
        return json_decode(
            $this->client->send(
                new Request(
                    'POST',
                    Uri::withQueryValue(new Uri($endpoint), 'type', $type),
                    [],
                    $body
                )
            )->getBody()
        );
    }
private function doUpload ($endpoint, $type, $body)
    {
        return json_decode(
            $this->client->send(
                new Request(
                    'POST',
                    Uri::withQueryValue(new Uri($endpoint), 'type', $type),
                    [],
                    $body
                )
            )->getBody()
        );
    }
private function doUpload ( $ endpoint , $ type , $ body ) { return json_decode ( $ this -> client -> send ( new Request ( 'POST' , Uri :: withQueryValue ( new Uri ( $ endpoint ) , 'type' , $ type ) , [ ] , $ body ) ) -> getBody ( ) ) ; }
Uploads a simple string body to the WeChat servers.

@param string $endpoint
@param string $type
@param string $body

@return \stdClass
Uploads a simple string body to the WeChat servers .