app/v3/httpTriggerSqlInput/index.ts (8 lines of code) (raw):
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import { AzureFunction, Context, HttpRequest } from '@azure/functions';
const httpTriggerSqlInput: AzureFunction = async function (context: Context, _request: HttpRequest): Promise<void> {
context.log(`httpTriggerSqlInput was triggered`);
context.res = {
body: context.bindings.inputItem,
};
};
export default httpTriggerSqlInput;