PHP Velho Oeste 2024

HttpResponse::getRequestBody

(PECL pecl_http >= 0.10.0)

HttpResponse::getRequestBodyリクエストの本文を取得する

説明

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