I\'m a beginner in Javascript I have an api which I need to execute asynchronously or I need a request to be executed only after the previous one is completed.<