Posts by Raphael Moraes • 26 points
1 post
-
1
votes1
answer263
viewsA: Redirect to page after API consumption
There are 3 ways you can solve this problem: 1) Simplest way: you could return the service Observable to the Component instead of doing the treatment directly on it: Service.ts myHttpRequest(){…