How to read / modify POST data in the custom Middleware


#1

I want to read user POST parameters and translate to another format and value say ?method=form&data=....

Should / Can I achieve it using middleware ? I checked middleware doc, seems only Body may related to POST parameters. ? Any middleware method can do it? Or I have to parse the body myself ?


#2

You’d need to parse it yourself, there’s nothing out of the box yet that supports this I’m afraid…