Angular 2 : merge several http calls into one
问题 I have a service that is used to upload pictures. To upload a picture, all I do is return this.http.post(/* ... */) And I get a subscription I can subscribe to in my component. But when I want to upload several pictures, I have to do for (let p of pics) { this.http.post(/* ... */); } My problem is that I would like to return the results of all calls instead of just one call. Is that possible ? EDIT Here is my service addPictures(files: File[], folder: string): Observable<Parse.Object[]> { let