Ape.registerCmd("CMD", false, function(params, info) {
return {"name":"raw_name", "data":{'test': 'test'}}; // <- this build
is required raw name and data to return
});
PHP v
$APEserver = 'http://domain.com:6969/?';
$cmd = array(array(
'cmd' => 'CMD',
'chl' => '1',
'params' => array()
));
$data =
json_decode(file_get_contents($APEserver.rawurlencode(json_encode($cmd))));
thanks
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/