Wire up REST API calls