I tried every possible thing get when I using the get method it works fine but post does not send any value. using this in my controller.
$post = $this->getRequest()->getPostValue();
but got a empty array. form content
$controller_path = $block->getUrl('module name/activate');
<form method="post" id="form1" name="form1" action="<?php echo $controller_path;?>" >
<p><b><span style ="color:#14497f";>Please confirm your email address:</span></b>
<input type="email" placeholder="Admin email address" style =" margin-left:5px;" size="30" name="email" /><b>
<input type="submit" name="submit" class="button" style ="margin-left:2px;background: #14497f none repeat scroll 0% 0%;border-color: #14497f;color: #FFF;" value="Proceed to the final step">
$this->getRequest()->getPost()
or direct$this->getRequest()->getPost('email')
$_POST[]
?