Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

Intercepting requests to Published Rest Service

$
0
0
Hello, We are  publishing a Rest Service in our application. Our intention is to intercept incoming request to our Rest Service. I created a Java Action to add a custom request handler to capture the requests.  When I pass “abc/” as path argument and hit the URL www.myapp.com/abc, request handler works as expected.  But when I pass the path of endpoint for our Published Rest Service which is “rest/” (fullpath is rest/myendpoint) request handler is not invoked. ( I also tried with path as “myendpoint/” and all other variations ) My question: Is adding requesthandler only for http requests? Is there a way to intercept incoming requests to published Rest Service?  

Viewing all articles
Browse latest Browse all 83469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>