Gotcha! Thanks for all the help anyway. This is going to take someone like me a bit to figure out.
I came across this page in the link you sent. These are some cuts from it:
// This sample sends POST payload data in the style of an HTML form, including
// a file.
function sendHttpPost() {
// Download a file now (GET), so we can upload it in the HTTP POST below.
var response = UrlFetchApp.fetch("http://example.com/image_to_download.jpg");
var fileBlob = response.getBlob();
var payload =
{
"fieldOne" : "value for field one",
"fieldTwo" : "value for field two",
"fileAttachment": fileBlob
};
// Because payload is a JavaScript object, it will be interpreted as
// an HTML form. (We do not need to specify contentType; it will
// automatically default to either 'application/x-www-form-urlencoded'
// or 'multipart/form-data')
var options =
{
"method" : "post",
"payload" : payload
};
UrlFetchApp.fetch("http://example.com/upload_form.cgi", options);
}
And these:
headers - Object - a JavaScript key/value map of HTTP headers for the request
method - String - the HTTP method for the request: 'post', 'get', 'put',
'delete', etc. The default is 'get'.
payload - String - the payload (e.g. POST body) for the request. Certain HTTP
methods (e.g. GET) do not have any payload. It can be a String, a byte array, or a
JavaScript key/value map. See the examples for more detail.
I'm currently trying to decide if having the payload
is even necessary. This is what I'm working w now. I've just added the new function in the Google script, after the collectData
function.
function collectData() {
var sheet = SpreadsheetApp.getActiveSheet();
var response = UrlFetchApp.fetch("https://api.spark.io/v1/devices/xxxxx/result?access_token=xxxxx");
try {
var response = JSON.parse(response.getContentText()); // parse the JSON the Core API created
var result = unescape(response.result); // you'll need to unescape before your parse as JSON
try {
var p = JSON.parse(result); // parse the JSON you created
var d = new Date(); // time stamps are always good when taking readings
sheet.appendRow([d, p.count]); // append the date, count to the sheet
}
catch(e)
{
Logger.log("Unable to do second parse");
}
} catch(e)
{
Logger.log("Unable to returned JSON");
}
}
function sendHttpPost() {
var url = 'https://api.particle.io/v1/devices/xxxxx/freshCount \
-d access_token=xxxxx \
-d "args=freshCount"';
var options = {
'method': 'post'
};
UrlFetchApp.fetch(url, options);
}
I think this is getting closer??? We need someone with a bit more Google Script to chime in. 
I also tried with the curl
before "https...". No go. The way that address is formatted a problem? Im buessing the " \ " at the end of the line and the " -d " preceding the next line just says its continuous? If I were to make it one line, would it look like:
https://api.particle.io/v1/devices/xxxx/freshCount?access_token=xxxxx"args=freshCount" ?
Even matter?
Again, thanks for the help. I'll keep hammering away.