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
精彩评论