Changed geturl in API class