PHP Manual Function Reference Other Services HTTP HttpMessage HttpMessage::getBody HttpMessage::fromString HttpMessage::getHeader HttpMessage::getBody (PECL pecl_http >= 0.10.0)HttpMessage::getBody — Get message body Description public string HttpMessage::getBody ( void ) Get the body of the parsed HttpMessage. Return Values Returns the message body as string.