AnsweredAssumed Answered

How to identify the Http method in Rest request.

Question asked by Ritu Chowdhary on Jul 3, 2017
Latest reply on Jul 3, 2017 by DannySaro

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

Outcomes