SAP interview question

Can you describe how REST api works?