convert RestRequest to regular activity request