I have created rest service using .js file on Parse.com. I want to access cloud function from arduino.
i tried this
client.get(https://myAppID:[email protected]/1/functions/hello");
i am getting error "Method not allowed".
Solution : Somehow i got the answer which is as follows.I hope it will help others.
ParseCloudFunction cloudFunction;
cloudFunction.setFunctionName(function_name); //string ("hello")
cloudFunction.add("light_sensor", light); //pass parameter to cloud
ParseResponse response = cloudFunction.send();
Serial.println(response.getJSONBody());