Skip to content

Instantly share code, notes, and snippets.

@spudro228
Created November 18, 2019 15:32
Show Gist options
  • Save spudro228/6b5148fefeabf515015ad08fd2ccd0d0 to your computer and use it in GitHub Desktop.
Save spudro228/6b5148fefeabf515015ad08fd2ccd0d0 to your computer and use it in GitHub Desktop.
request
this.tramwayApiService.getTeacher()
.pipe(
concatMap(
res => this._httpClient.get<Response>('https://tramway.skyeng.loc/api/file-storage/teachers/profileFilesIsUploaded?teacherId=' + res.data.id)
)
).subscribe(
response => {
console.log(response)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment