I am sending a list of names and emails.
I am trying to create with curl the same functionality as in this form
What i finally did was using a string instead of php assoicative array
$ch = curl_init();
$curlConfig = array(
CURLOPT_URL => "http://url",
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => "name=name1&emailname1@email&name=name2&email=name2@email"
);
curl_setopt_array($ch, $curlConfig);
$result = curl_exec($ch);
print $result;
curl_close($ch);