How i can to redirect to Bonita Portal using API REST?
Hi ,
I would like to login into bonita portal through api rest .Now i can login in order to retrieve something , but when i specify the redirect parameter at 'true' , it doesn't work.
this is the array that i send to API using POST method(using php):
$data = array('username' =>'walter.bates', 'password' => 'bpm', 'redirect' => 'true');
curl_setopt($conexio, CURLOPT_URL, 'http://localhost:8080/bonita/loginservice');
Regards.
2 answers
Hi,
Your array is missing a redirectUrl parameter. It should look like this :
$data = array('username' =>'walter.bates', 'password' => 'bpm', 'redirect' => 'true', 'redirectUrl' => 'http://redirect.example.com');
Comments
not work!!