You are here

public function ServicesClientConnection::rawPost in Services Client 7.2

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

HTTP POST method

Parameters

$path: Requested path relative to endpoint configuration

$query: URL query parameters

$data: Request data

$headers: Optionally additional headers

Return value

Response data

File

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

Class

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

Code

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