开发者

Can drupal router handle PUT requests?

I have a module that will be using some restfulness and i'd like to know if drupal's menu router handles开发者_开发技巧 PUT requests without problem...?


After doing some research i found that Nothing stops you from handling PUT requests on Drupal. Actually i looked at the code in rest server module and it seems to handle it without problem. Just inspect the php $_SERVER['REQUEST_METHOD'] as you'd normally do.

Note: Answered my own question and keeping it as per @Henrik Opel comment

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜