

Probably need to stringify the payload, in the options object, you can just do:
payload: JSON.stringify(body),
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/cd172f9c-3764-415c-a086-2f6a48b9b2afn%40googlegroups.com.