PHP 手册
上一页 |  | 下一页

# http_get_request_body

(PECL)

http_get_request_body -- Get request body as string

## 说明

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.

## 参数

## 返回值

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

## 参见

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

上一页 | 起始页 | 下一页
http_get_request_body_stream | 上一级 | http_get_request_headers