php - PUT Method Restriction with ModSecurity -


inmotionhosting tell me put / delete method restricted modsecurity.

they tell me direct put request not posible, can php.

they tell me can disable restriction, expose system security breach , not recommended.

i don't understand concept of direct / indirect put...

more, have no clue of should in php make put request without doing directly.

i'm working laravel / php / apache

any idea?

laravel's documentation great this: form method spoofing

now in laravel router/controller can check in request->input('_method')

if( request->input('_method') === "put") {     //do     ... } 

and can run code form in route or controller. don't need open commands can still handle them. more information requests here , here


Comments