Hi,

I keep getting a bad_params error when i try to send request to a
server command... The code is

var client =new APE.Client();

client.core.request.send('NEWCMD',{'foo':'bar'});

The server side code is

Ape.registerCmd('NEWCMD',false,function(params,cmd){
Ape.log('inside cmd');
var c=Ape.getChannelbyName('abc');
c.pipe.sendRaw('RAWNAME',{'data':'here'});
});

Even inside command is not getting printed... the problem seems to be
with the way i am sending request to the server ... I just followed
the format given in docs, but it doesnt work . Also, the docs seems to
be very confusing... In some places, its given foo:'bar' and in some
other ,its given 'foo':'bar' .. Pls fix this

-- 
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/

Reply via email to