try to intercept method calls in REST request