Update rest example to use last-modified