Interceptor API - Stack

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


“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:

public class ConfigInterceptor implements WebMvcConfigurer {

public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new LogInterceptor());

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!!