How can I do multiple http requests, so for this scenario how can I do another request budgetService.getData()
after the getBudgetDays()
requests completes?
this.budgetService.getBudgetDays(this.startDate, this.finishDate).pipe(
catchError(res => this.budgetTestService.getBudgetDates(this.startDate, this.finishDate)),
).subscribe(res => {
// res = value of getBudgetDays if no error, or getBudgetDates if there is one
});