You don't say :-)

On 2010-10-26, at 16:14, אריה גלזר wrote:

> open a lighthouse ticket
> 
> On Tue, Oct 26, 2010 at 4:05 PM, Oskar Krawczyk <[email protected]> 
> wrote:
> Ok, seems the documentation misled me on this one. Just skimmed
> through mootools-core and noticed this:
> 
> var methods = {};
> ['get', 'post', 'put', 'delete', 'GET', 'POST', 'PUT',
> 'DELETE'].each(function(method){
>        methods[method] = function(data){
>                return this.send({
>                        data: data,
>                        method: method
>                });
>        };
> });
> 
> 
> 
> On Oct 26, 3:51 pm, Oskar Krawczyk <[email protected]> wrote:
> > It seems the Request class is fixed to POST and GET methods - is this the 
> > case? Has anyone tried doing a DELETE request? I was just dropped into a 
> > Rails project and it seems they're using DELETE methods all over the place.
> >
> > O.
> 
> 
> 
> -- 
> Arieh Glazer
> אריה גלזר
> 052-5348-561
> 5561
> 

Reply via email to