Between these 2 different Core Cloud connections - possible HTTP Post Function Request

The 2nd connection results below shows what functions are available on the core App. Can these functions only be read from (GET) or can they be executed in some way from a webpage ? HTTP POST or Javascript or PHP ?


[
{
“id”: “48ff6f065067555028091087”,
“name”: “magic_Stop”,
“last_app”: null,
“last_heard”: “2014-03-13T07:57:54.920Z”,
“connected”: true
}
]


{
“id”: “48ff6f065067555028091087”,
“name”: “magic_Stop”,
“connected”: true,
“variables”: {},
“functions”: [
“digitalread”,
“digitalwrite”,
“analogread”,
“analogwrite”
]
}

Basically you did a GET request to have the results in both results 1 and 2…

You can do the same using a webpage too…

GET request in java script or php or python depending on what you use

Yes, did it from a webpage using a form HTTP POST request and these were the API response. I used two different urls. One with Device ID in and one no Device ID.

Can a function in the Core App be called directly with PHP without using curl ? For example, to change the state of D7 LED ?