Webiny\Component\Http\Request::post PHP 메소드

post() 공개 메소드

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.
리턴 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);
    }