fedor.belov fedor.belov - 5 months ago 23
HTTP Question

How to make http call and don't subscribe to response

I need to make multiple http calls and don't subscribe to response (let's assume the response is always

). Looks like Angular will not make http request if subscription list is empty. How to force it?


Observables are lazy and don't do anything unless subscribe() is called.
You don't need to do anything though when data arrives


will do.