Webiny\Component\Http\Request::post PHP Méthode

post() public méthode

If key doesn't not exist, $value will be returned and assigned under that key.
public post ( string $key = null, mixed $value = null ) : mixed
$key string Key for which you wish to get the value.
$value mixed Default value that will be returned if $key doesn't exist.
Résultat mixed Value of the given $key.
    public function post($key = null, $value = null)
    {
        return $this->isNull($key) ? $this->post->getAll() : $this->post->get($key, $value);
    }