Including rest api in urls