You are here

protected function ServicesContext::getRequestBodyData in Services 7.3

Fetch request body using php://input handler.

Return value

string Content of the request body.

1 call to ServicesContext::getRequestBodyData()
ServicesContext::buildFromGlobals in servers/rest_server/includes/ServicesContext.inc
Build all context data from global variables.

File

servers/rest_server/includes/ServicesContext.inc, line 129

Class

ServicesContext

Code

protected function getRequestBodyData() {
  return file_get_contents('php://input');
}