public async Task <APIGatewayProxyResponse> Handle(APIGatewayProxyRequest request, ILambdaContext context) { return(await Func.Handle(request.PathParameters["queryName"], request, context)); }
public static async Task <HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "query/{queryName}")] HttpRequestMessage req, TraceWriter log, string queryName) { return(await Func.Handle(queryName, req, log)); }
public static async Task<IActionResult> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = "query/{queryName}")] HttpRequest req, ILogger log, string queryName) { return await Func.Handle(queryName, req, log); }