Swoole\Http\Request->getContent

Declaration

<?php
Swoole\Http\Request->getContent()

Parameters

Return

Description

Get the raw POST body. This method is used for the POST data which isn't in form of application/x-www-form-urlencoded.

You can set the configuration http_parse_post to control the analysis of POST data.

Example