Custom Server Side Method

I am trying to implement the example provided at
but the http property does not exist in the return this.http… line of the getData function…

Thanks for your help!

Hi Thierry,

It is injected in the constructor:

constructor(injector: Injector, private http: HttpClient) {

Best Regards,

1 Like