PHP 7.1.0 Released

http_get_request_body

(PECL pecl_http >= 0.10.0)

http_get_request_bodyGet request body as string

Description

string http_get_request_body ( void )

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top