public function getRequestInputByType()
    {
        $data = $this->instance->getRealMethod() == 'GET' ? HttpFoundation::createFromGlobals()->query :
            HttpFoundation::createFromGlobals()->request;

        if ($data) {
            foreach ($data->all() as $key => $value) {
                session()->createFlashMessage($key, $value);
            }

            session()->createFlashMessage('request', $data);
        }

        return $data;
    }