php://input – is a read-only stream that allows you to read raw data from the request body.

$postdata = file_get_contents(‘php://input’);

 

http://php.net/manual/en/wrappers.php.php

 

 

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress