Beispiel #1
0
 public async Task <APIGatewayProxyResponse> Handle(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(await Func.Handle(request.PathParameters["queryName"], request, context));
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 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);
 }