Make API url configurable.