I am using the below code for a POST request.
$params = array(
'token'=> $hello["token"]
);
$this->_redirectUrl($url,$params);
But the redirect is not happening.
Can anyone help me with this?
Thanks in advance.
Hello @gdhar67
Use _redirect function instead of redirectUrl
$params = array( 'token'=> $hello["token"] ); $this->_redirect($url,$params);
If my answer is useful click Kudos and Accept as Solution