Implementing DRY service for all http endpoints used in dashes