app/v3/httpTriggerTableOutput/index.ts (9 lines of code) (raw):

// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. import { AzureFunction, Context, HttpRequest } from '@azure/functions'; const httpTriggerTableOutput: AzureFunction = async function (context: Context, request: HttpRequest): Promise<void> { context.log(`httpTriggerTableOutput was triggered`); context.bindings.outputItem = request.body; context.res = { status: 201, }; }; export default httpTriggerTableOutput;