updated rest.php

Signed-off-by: thomasaj91 <thomasaj@uwm.edu>