Support apiUrl option