I have connected a core to the cloud, I used jquery to give a command control, the access_token is good and device id is right as well.
var port = "D3", value = "LOW"; $.ajax({ type: "POST", url: "https://api.particle.io/v1/devices/"+id+"/digitalwrite", data: { access_token: "64f621ce78b20296af6195903e47f59550d3f254", args: port+","+value }, success: function(){
}, dataType: "json" }).fail(function(obj) {
});
i used this code above yesterday, works well. However, just tonight it just didn't work, give me a error saying:
POST https://api.particle.io/v1/devices/54ff70066667515129371467/digitalwrite net::ERR_NAME_NOT_RESOLVED
Any thoughts?