-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hello,
I'm using EventNotification class to define my webhook. I can see you can choose between XML/JSON when I use the website to create the hook :
But I can't find a way to ask for JSON when creating the hook programmatically like :
$eventNotification = new EventNotification();
$eventNotification->setUrl('https://webhook.site/123456');
// How to ask for JSON ?
Is this possible?
Thanks for you help!