implementing sample api endpoint
working sample grape API endpoint