This post is a guide to how to modify the HTTP Request by intercepting the HTTP Request. The option to intercept the outgoing or incoming request was added in the new HttpClientModule. The Interceptor can be useful for adding custom headers to the outgoing request, logging the incoming response etc.
This post is a guide how to Pass the URL Parameters or Query string along with the HTTP Request using the HttpClient in Angular. We will be using HttpParams to add the query parameter, which is then used by the httpClient.get method to send a get request to the GitHub API.
The Angular HttpClient Module is introduced in the Angular 4.3. This new API is available in package @angular/common/http and intends to replace the older HttpModule. In this Tutorial on HttpClient we learn how to use HttpClient.Get method to query the GitHub API Source to get data into our Application. Like the older HtppModule, the newer HttpClientModule also uses the RxJs Observables. The Response returned from the HttpClient needs to be Subscribed. We will learn all these in this Tutorial.
In this article, we will give you a brief introduction to Model in the ASP.NET Core application. The Model could mean many things depending on the what are you trying to do. In the Context of ASP.NET Core MVC Apps, the model could be a Domain model, View Model or an Edit Model. We will learn what they are and how and where to use them
The Views needs to get the data from the controller. One of the ways in which to pass the data to the view is using the ViewData or ViewBag object. In this tutorial, we look at how to use ViewBag and ViewData to pass the data to the View.