Looking for example webhook to push published data to ubidots

@andyw - we’re actually posting data to ubidots in 3 different ways:

  1. using the custom particle endpoint created by @aguspg mentioned by Moors7 above. This automatically creates the data source and variables.

  2. a particle webhook posting to the ubidots variables endpoint:

     {
     "event": "probability_prediction",
     "url":
    

    http://things.ubidots.com/api/v1.6/variables//values”,
    “headers”: {
    “X-Auth-Token”: “”
    },
    “requestType”: “POST”,
    “mydevices”: true,
    “json”:
    {“value”: “{{probability_prediction}}”}
    }

  3. A direct HttpClient post instead of spark.publish as in this example. We have been seeing some dropped webhooks so are testing out a direct http post from the device.