Interceptor API - Stack

I’m trying to intercept requests from a Stack especific using API Intercetor keep bellow configuration:

api.interceptor.config

“requestInterceptors”: [
{
“type”: “http”,
“paths”: ["/v2-beta/projects/1221222/hosts/3h1222"],
“endpoint”: “http://localhost:8080”,
“methods”: [“post”, “get”, “put”, “delete”],
“secretToken”: “pqrs”
}
]

Java code - Spring Boot:

@Configuration
public class ConfigInterceptor implements WebMvcConfigurer {

@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new LogInterceptor());
.addPathPatterns("/v2-beta/projects/1221222/hosts/3h1222")
.addPathPatterns(“http://test.apptest.com.br”)
}
}

But, in my interceptor, no success!

Can i help?

1221222 is suspicious as we do not format project ids like that. They are of the form 1<some letter><some number>

Oh man! Only a simple example!!