We're using webhooks to stream some event data to another web app. hosted by our company. When creating a webhook, I see the explanation on "post multiple events in JSON array". It says,
"Post multiple events at a time to the webhook in a JSON array instead of posting events individually. Your code should be prepared to handle both multiple and single events."
My question is, when there's a single event, should the server expect a single JSON object in request body, or should it expect an array with just a single event object in it?