configure api url