I'm messing around on my rest application and I'm getting this error on my spring boot when my url parameters have some invalid characters in them:
http://myrestservice?[][][][]
then postman gives me this error.
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 at
Is it possible to return a message instead of the server returning this exception?
I am only doing the rest services and no UI is involved.