PHP Velho Oeste 2024

HttpResponse::getRequestBody

(PECL pecl_http >= 0.10.0)

HttpResponse::getRequestBodyGet request body

Описание

static string HttpResponse::getRequestBody ( void )

Эта функция является псевдонимом: http_get_request_body().

add a note add a note

User Contributed Notes 1 note

up
1
osborn dot steven at example dot com
16 years ago
For those of you without the HTTP extension, try:
<?php
  $body
= @file_get_contents('php://input');
?>
To Top