fix the API url for get sensor reading in range