implement possibility to get data from patch request

I have neaded to get data from PATCH request
And i have not be able to do that
So i have done these changes