console log observable response http code example Example: console log observable data yourObservable.subscribe(res => console.log(res));