http_get_request_body_stream
http_get_request_headers
HTTP 함수 목록
PHP Manual

# http_get_request_body

(PECL pecl_http >= 0.10.0)

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() - Get request body as stream
- http_get_request_headers() - Get request headers as array
- PHP 5.1.0 이상을 사용할 때 HttpResponse 클래스

http_get_request_body_stream
http_get_request_headers
HTTP 함수 목록
PHP Manual