I think you got that backwards, unless I'm mistaken.

Leave emulation set to true, and then define whatever method you want, like 
"delete" and "put".  I've been doing it this way with Rails apps for years, and 
express apps recently.

the post or get request will be have a _method key send with the data.

On Jun 6, 2011, at 6:12 AM, Tim Wienk wrote:

> Hello,
> 
> In the docs the two options are mentioned, perhaps they should be
> positioned right under each other to make them easier to find:
> 
> * method - (string: defaults to 'post') The HTTP method for the
> request, can be either 'post' or 'get'.
> * emulation - (boolean: defaults to true) If set to true, other
> methods than 'post' or 'get' are appended as post-data named '_method'
> (used in rails)
> 
> So if you set emulation to `false`, you should be able to use any
> `method` you want.
> 
> Tim.
> 
> -- 
> Tim Wienk, Software Developer, MooTools Developer
> E. [email protected] | W. http://tim.wienk.name

Reply via email to