Tomcat: java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
This exception can occur when you try to execute HTTPS request from client on endpoint which isn’t HTTPS enabled. Client will encrypt request data when server is expecting raw data.