Change preview view method to use RESTful URL.

STUD-848