JavaScript Editor Javascript debugger     Website design 

http_get_request_body

Get request body as string (PECL pecl_http:0.10.0-1.5.5)
string http_get_request_body ( )

Get the raw request body (e.g. POST or PUT data).

This function can not be used after http_get_request_body_stream() if the request method was another than POST.

Parameters

Return Values

Returns the raw request body as string on success or NULL on failure.

See Also
http_get_request_body_stream()
http_get_request_headers()
the HttpResponse class if you are using PHP-5.1 and above