You are here

public function ServicesClientConnection::rawGet in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/include/connection.inc \ServicesClientConnection::rawGet()

HTTP GET method

Parameters

$path: Requested path relative to endpoint configuration

$query: URL query parameters

$headers: Optionally additional headers

Return value

Response data

File

services_client_connection/include/connection.inc, line 460
Main services client connection class which exposes simple API

Class

ServicesClientConnection
@file Main services client connection class which exposes simple API

Code

public function rawGet($path, $query = array(), $headers = array()) {
  return $this
    ->httpRequest('GET', $path, $query, array(), $headers);
}