anyone had any luck with python triggering a function ?.
I can use https - GET to work but not a https - POST like this 
h = httplib2.Http()
resp, content = h.request(“https://api.particle.io/v1/devices/220034001447343338333633?access_token=”+token , method=“GET” )
print content
which prints this
{
“id”: “220034001447343338333633”,
“name”: “turtle_laser”,
“connected”: true,
“variables”: {},
“functions”: [
“blue”
],
“cc3000_patch_version”: “wl0: Nov 7 2014 16:03:45 version 5.90.230.12 FWID 01-dccc7d34”,
“product_id”: 6,
“last_heard”: “2015-12-14T18:23:35.408Z”
}
But if I try a using a POST to control the blue function I`ve played all day and still can’t get it to work.
data = {‘args’ : ‘1’ , ‘access_token’ : token}
body = urllib.urlencode(data)
h = httplib2.Http()
resp, content = h.request(“https://api.particle.io/v1/devices/220034001447343338333633/blue” , method=“POST” , body=body )
print content
{
“error”: “invalid_request”,
“error_description”: “The access token was not found”
}