Hello,
We’re trying to setup an action that sends an http post to a url, like
I’ve tested it with Postman and Paw and can confirm that under any other circumstance, the POST goes through successfully.
However when infusionsoft does it, we get a 301 redirection error, and absolutely no other information that tells us what’s going on.
Here’s the basic code:
public function deactivateUser()
{
$email = $_POST['Email'];
if ($email) {
$account = [[ do db stuff ]]
if ($account) {
return 'User deactivated';
}
} else {
return 'Email not found';
}
}