private function get_curl_object( $endpoint ) {
		if ( ! strpos( $endpoint, '/' ) === 0 ) {
			$endpoint = '/' . $endpoint;
		}
		$c = curl_init( self::$root_url . $this->api_url . $endpoint );
		curl_setopt( $c, CURLOPT_RETURNTRANSFER, true );

		return $c;
	}
private function get_curl_object( $endpoint ) {
		if ( ! strpos( $endpoint, '/' ) === 0 ) {
			$endpoint = '/' . $endpoint;
		}
		$c = curl_init( self::$root_url . $this->api_url . $endpoint );
		curl_setopt( $c, CURLOPT_RETURNTRANSFER, true );

		return $c;
	}
@param string $endpoint

@return resource