I have this PHP code that contacts an external API
$arr = array(
"domain_name" => $_POST["domain"],
"auto_renew" => false,
"domain_lock" => false,
"whois_privacy" => false,
"contact_registrant_id" => $_POST["registrant_contact"],
"contact_admin_id" => $_POST["admin_contact"],
"contact_tech_id" => $_POST["tech_contact"],
"contact_billing_id" => $_POST["billing_contact"],
"auth_code" =>($_POST["auth_code"])
);
The value I am posting for $_POST["auth_code"]
is l&"IkM%Wbjjq7
However, when it posts this value, its being posted as l&\\\"IkM%Wbjjq7
So its adding the slashes, which is causing a problem.