Fix PHP code for Add/Update Contact
If you copy/paste default code, this line causes problem i.e API call don't execute as intended, it returns false.
curlsetopt($ch, CURLOPTURL, "https://api2.autopilothq.com/v1/contact
");
It should be like this
curlsetopt($ch, CURLOPTURL, "https://api2.autopilothq.com/v1/contact");
1
vote
Aamir Shahzad
shared this idea