SunshinePHP Developer Conference 2015

HttpResponse::getRequestBody

(PECL pecl_http >= 0.10.0)

HttpResponse::getRequestBodyGet request body

Descrição

static string HttpResponse::getRequestBody ( void )

Esta função é um apelido para: 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