- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Open
Description
From @pommerien on February 3, 2016 8:54
I am experiencing a minor issue with posting to Google forms from a webhook. It appears as if the particle cloud does not like form field names to contain periods. For example:
{
    "eventName": "temperature",
    "url": "https://docs.google.com/forms/d/someformid/formResponse",
    "requestType": "POST",
    "form": {
        "entry.1083994980" : "200"
    },
    "mydevices": true
}
Results in:
Using settings from the file google-sheet.json
Sending webhook request  { uri: '/v1/webhooks',
  method: 'POST',
  json: 
   { event: 'temperature',
     url: 'https://docs.google.com/forms/d/someformid/formResponse',
     deviceid: undefined,
     requestType: 'POST',
     mydevices: true,
     eventName: 'temperature',
     form: { 'entry.1083994980': '200' } },
  headers: { Authorization: 'Bearer 491e074f48c6589ca7a477b62a71d3922430a06c' } }
Error {}
Note the empty error hash being sent back. However this JSON creates a webhook just fine:
{
    "eventName": "temperature",
    "url": "https://docs.google.com/forms/d/someformid/formResponse",
    "requestType": "POST",
    "form": {
        "entry1083994980" : "200"
    },
    "mydevices": true
}
Copied from original issue: particle-iot/particle-cli#203