I’ve got a calendar/scheduling service that sends a webhook in a complex JSON format to a Backendless API service for saving the data to the database. The Backendless API service doesn’t understand the JSON being passed in the body.
I’ve run up against this a few times, where I’m not sure how to send a complex JSON to a Backendless API service. I would think I would use the “Any Object”, but that doesn’t seem to do the trick. Any direction would be helpful. Below is the test POST sent by the calendar program.
{
“triggerEvent”: “PING”,
“createdAt”: “2024-12-01T03:34:07.756Z”,
“payload”: {
“type”: “Test”,
“title”: “Test trigger event”,
“startTime”: “2024-12-01T03:34:07.756Z”,
“endTime”: “2024-12-01T03:34:07.756Z”,
“attendees”: [
{
“email”: “jdoe@example.com”,
“name”: “John Doe”,
“timeZone”: “Europe/London”,
“language”: {
“locale”: “en”
},
“utcOffset”: 0
}
],
“organizer”: {
“name”: “Cal”,
“email”: “no-reply@cal.com”,
“timeZone”: “Europe/London”,
“language”: {
“locale”: “en”
},
“utcOffset”: 0
}
}
}