Updating Event Details using Eventrite API v3

26 views
Skip to first unread message

Ivan Cañas

unread,
Jul 29, 2015, 3:38:34 AM7/29/15
to Eventbrite API
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?
Reply all
Reply to author
Forward
0 new messages