I'm trying to edit Eventbrite event using version 3 of the API but I always returns false.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://www.eventbriteapi.com/v3/events/xxxxxx/?event.name.html="Test"&token=xxxxxxxx');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-type: application/x-www-form-urlencoded'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);
var_dump(json_decode($result));
The response is always null....
What am I doing wrong?