Using Service for HTTP Request | Angular HTTP | Angular 13+

procademy
procademy
47.1 هزار بار بازدید - 2 سال پیش - In this lecture you are
In this lecture you are going to learn how we can use services to make HTTP requests. Usually, in a real world application, we don't write HTTP request calls in the component class. The component should only have UI related logic.

When dealing with data from the backend server, we should always use service which contains the logic for fetching the data, posting data, deleting or updating data. Then component should use the methods from this service class.

Let's see hoo we can do that in this lecture.
2 سال پیش در تاریخ 1401/02/05 منتشر شده است.
47,111 بـار بازدید شده
... بیشتر