its .post({data: {'method': 'store', 'params': 'bla bla'}})
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces


On Tue, Jan 26, 2010 at 7:13 PM, woomla <[email protected]> wrote:

> Straight from the examples on mooshell.net, little bit changed to
> reflect your example: http://mootools.net/shell/xzhuX/
>
> > var jsonRequest = new Request.JSON({url: serviceURL, onSuccess:
> > function(result){
> >     alert("result:"+result);}}).post({'method': 'store', 'params': 'bla
> bla'});
>
> Be adviced, although you set the parameter 'method' to the value
> 'store' in the call to post, you'll execute the method post. The
> parameter 'method' with value 'store' is simply send to the server as
> post data. See the example
>
> Wo.
>

Reply via email to