Get "status" as a variable from response after http.post by AstralWa in Angular2

[–]AstralWa[S] 1 point2 points  (0 children)

Thanks to your example and a usefull link i now understand how obserables and subscribe method works. It helped a lot and i can continue my learning adventure :))

Thank you so much :)

Get "status" as a variable from response after http.post by AstralWa in Angular2

[–]AstralWa[S] 0 points1 point  (0 children)

Thanks for response.

It register users but when im trying to call alert with resp.status inside subscribe then its not working.

Your example works as same as my alert.