• Genel Bakış
@angular/common/http

httpResource

constant
kararlıv22.0'den beri

httpResource makes a reactive HTTP request and exposes the request status and response value as a WritableResource. By default, it assumes that the backend will return JSON data. To make a request that expects a different kind of data, you can use a sub-constructor of httpResource, such as httpResource.text.

API

Detaylara atla