Self url should point to the RESTful URL.