Correcting api url