Make the resource aware of the API base url