httpResource
constant
stablesince v22.0
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.
Jump to details