PHP 5.6.0 released

HttpResponse::getRequestBody

(PECL pecl_http >= 0.10.0)

HttpResponse::getRequestBodyConsultar el cuerpo de la petición

Descripción

static string HttpResponse::getRequestBody ( void )

Esta función es un alias de: http_get_request_body().

add a note add a note

User Contributed Notes 1 note

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