I use the advanced flow cards and i do a http request to a (php) script on an server, sometimes i need to stop the flow card if something goes wrong in the script so i wish to return an error.
What do i exactly return in the script to error the advanced http get flow card?
I tried:
http_response_code(400); // also tried several error codes
$return[‘result’] = ‘false’;
$return[‘msg’] = ‘error kon commando niet uitvoeren’;
echo json_encode($return);
But this does not work, the advanced card stil continues ‘normally’…