Cognizant Interview Question

How does REST work