Can a drupal router handle PUT requests?

I have a module that will use some sedation, and I would like to know if the router handles the drupal PUT menu without any problems ...?

+3
source share
1 answer

After some research, I found that Nothing prevents you from processing PUT requests on Drupal. Actually, I looked at the code in the server of the break server and it seems to handle this without any problems. Just check php $_SERVER['REQUEST_METHOD']as usual.

Note. Answered my own question and saved it as a comment by @Henrik Opel.

+5
source

Source: https://habr.com/ru/post/1750534/


All Articles