DEV Community


Discussion on: Hitting a Cloud Function when you submit a Google Form

abejr profile image

I couldn't get it to work, for some reason the data I was receiving in Firebase Cloud Functions was malformed, I had to add the following to the fetch parameters:
contentType: "application/json"
Then, the payload could be accessed from the function directly from the body object
PS found this solution from