Laravel overwrite value in request

Published 1 month ago by JaydeepMor

I am get request value like,

request('info.product');

But now i want to overwrite this value.

martinbean

@JaydeepMor You shouldn’t overwrite user-submitted data, otherwise your application isn’t working with the same request that was submitted, which may lead to hard-to-track bugs.

Please sign in or create an account to participate in this conversation.