REST calls interceptor.