A web component that encapsulates REST API calls