How are you, people I need to change the response message of the return of BadRequest().
When I use the request like this, BadResquest("error: you can not pass these values")
I want to my api return something like this:
{"error: you can not pass these values"}
but the endpoint retuned this :
{"Message":"error: you can not pass these values"}
I don't want the word "Message" in my response, is there any form to overwrite or change the response?.