Dotsquares interview question

api vs webservices