removed 'api' from api url