I need to call multiple api in serial order one after the other in javascript. The response of one might need to act as input to other. Can someone please suggest or give a sample code.
I tried to use the .fetch() api, but finding it difficult to pass the response of one api to other.