Skeleton code for provider endpoint