Implements the service for GET requests