Alteryx interview question

How does REST API work?