Observable.map just maps the resolved response, it will not start the request. You always need to use
subscribe to start it. That's the way how observables work.
Also the code is asynchronous, you can not do the
console.log(result); at the end of your snippet, that line will be ran immediately after creating the observable via
See the docs for more information: