开发者

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

开发者 https://www.devze.com 2023-01-30 05:26 出处:网络
I\'m trying to do the following: new Ajax(\'http://..开发者_运维知识库..\', { method: \'delete\'

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


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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消