Surescripts interview question

Describe on a lower level what happens in a REST API