UBS Interview Question

what is REST api, and its methods