set the RESTAdapter url to /api