Active Network Interview Question

How does a REST API work?