src/Koldy/Request.php
public static function getRawData(): string
    {
        if (static::$rawData === null) {
            static::$rawData = file_get_contents('php://input');

            if (static::$rawData === false) {
                throw new RequestException('Unable to read raw data from request');
            }
        }

        return static::$rawData;
    }
public static function getRawData(): string
    {
        if (static::$rawData === null) {
            static::$rawData = file_get_contents('php://input');

            if (static::$rawData === false) {
                throw new RequestException('Unable to read raw data from request');
            }
        }

        return static::$rawData;
    }
public static function getRawData ( ) : string { if ( static :: $ rawData === null ) { static :: $ rawData = file_get_contents ( 'php://input' ) ; if ( static :: $ rawData === false ) { throw new RequestException ( 'Unable to read raw data from request' ) ; } } return static :: $ rawData ; }
Get raw data of the request
@return string
@throws RequestException
Get raw data of the request