How can I call multiple API's on a function with Angular?
问题 I need to call 4 different API's on a single function which is need to execute one after another as my previous API result will use the next Call as a param. For example: I have a call API for geo Ip, then I need to call an another API which I need to pass lat and long which I have got from first API call. How can I achieve this task on angular 4? I heard about some methods like flatmap and forkjoin. Is this method can use? (I didn't have any code as I am little bit confused). 回答1: You can do