I have three api request to work asynchronous, but the second request is working before the first request is completed. How do I get the second api request to start after completing the first request and then third after the second?
async doSave(event)
{
await this.server.post('/insertRecord',{name:'joe'});
//have to work after completion of above request
await this.server.post('/changeCountry',{countryName:'US'});
//have to work after completion of above request
await this.server.post('/satge',{stage:'fifth'});
}
this.server?