use API_URL in service