-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello, in typescript, how can I call a stored procedure to make a POST with parameters for example registering users
const sqlOutput = ouput.sql({
commandText: 'RegisterUser',
commandType: 'StoredProcedure',
connectionStringSetting: 'SqlConnectionString',
});
export async function httpTrigger1(request: HttpRequest, context: InvocationContext): Promise<HttpResponseInit> {
context.log('HTTP trigger and SQL input binding function processed a request.');
}
app.http('httpTrigger1, {
methods: ['POST'],
authLevel: 'anonymous',
extraOutputs: [sqlOutput],
handler: registerTrainer
});
Metadata
Metadata
Assignees
Labels
No labels