Search code examples
javascriptajaxrequestmootools

Does mootools 1.1 support request method OTHER than get and post?


I'm trying to do the following:

new Ajax('http://....', {

  method: 'delete'

}).request();

The request method when inspected in my php code shows that it is defaulting to POST.

Am I correct to assume that other methods outside of get and post are NOT supported?

ps. I had a quick look in the mootools src file and I can't see any mentions of delete


Solution

  • No, it does not support anything besides 'get' and 'post'.

    http://docs111.mootools.net/Remote/XHR.js