Set proper Rest params