Impersonation in REST call to SharePoint

Nov 17, 2016 at 8:44 PM
My application is for student applying to school and the admission office administrators decide to accept their applications or not. We keep all the students' information on SharePoint Online site but we don't want to give any students any permission in our site. Therefore we want to use some kind of impersonation when we make the REST call.

Do you have any example code for how to do that, please?

Thanks,
Yuping