Accessing Services in `HttpApiMiddleware`

I'm struggling to access my services in an HttpApiMiddleware . How can I access any custom service in there? It always complains that the requested service is not in Provided context.

Thank you!
CleanShot_2025-07-08_at_17.27.132x.png
Was this page helpful?