Is it possible to call rest in order to get data?

Is it possible to call rest in order to get data?