Angular 6 - Http Request - Making REST calls with HttpClient
in this video we gonna look into Angular 6 - Http Request - Making REST calls with HttpClient In modern web applications, we definitely need a bunch of HTTP services on the server. And we make use of this services to fetch or save data to it. In this video I am gonna show you how to build a fake HTTP Services and we gonna use a backend for our services. Todo that, let’s head over to jsonplaceholder.typicode.com. So when you scroll down, you can see various HTTP end points so we have posts, comments, albums, todos, as such. So lets go to posts, you can see bunch of objects here, in a web application, we will be making use of these json objects to display data that is returned from server end points. So when we hit “https://jsonplaceholder.typicode.com/..." we will get the response as we see here.
Source Code: https://github.com/codewithsrini/AngularHttpExample
External Links: https://jsonplaceholder.typicode.com/
00:01:09 - Getting Data from Server
00:09:48 - Posting a Data
00:12:39 - HTTP Verb
00:18:33 - OnInit Interface
00:18:53 - Life Cycle Hooks
00:20:22 - Separation of Concerns
00:25:59 - Error Handling
00:30:36 - Thank You











