I checked the answered question here but this doesn't work for me because as per the below curl command, there is no matching method in my controller. "curl -X TRACE localhost:8080"
This curl command gives me a success response (/error is because there is no matching end point) TRACE /error HTTP/1.1 host: localhost:8080 user-agent: curl/7.85.0 accept: /
I was expecting to see a 405 error response.
Is there some application property that I could use to achieve this?