title: Need to call multiple api in serial order, one after the other in javascript
body: <p>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.</p>
  <p>I tried to use the .fetch() api, but finding it difficult to pass the response of one api to other.</p>