Handle both REST and normal webpages