How to identify the Http method in Rest request.
I'm creating a VS, wherein am using the operations GET, PUT, POST, DELETE. I need to filter the response based on http method being invoked. For e.g if it is GET, I'll route the response to Retrieve step of JDBC, create a customized response and then route to VSI response selection. Whereas if the method is PUT, POST, DELETE I shall use a different JDBC step to perform the selected operation.
I'm unable to segregate the response based on Http method. Please help