public IActionResult GetData( [HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "logs")] HttpRequest req) { var continuationToken = req.Query["continuationToken"]; int pageSize; if (!int.TryParse(req.Query["pageSize"], out pageSize)) { pageSize = 10; } var logs = _table.GetByPartitionKeyPaged("log", pageSize, continuationToken); return(new OkObjectResult(logs)); }