Use the correct api url