How to invoke Azure Functions
Opened this issue · 0 comments
mrmihi commented
// Use this to access the input data passed while manually invoking a timer trigger
const requestData = context.bindingData[context.executionContext?.functionName]
// Add the following as a pre-request script in postman while making the request
pm.request.body.update({
mode: "raw",
raw: JSON.stringify({
input: JSON.stringify(JSON.parse(pm.request.body.raw).input)
}),
options: {
raw: {
language: "json"
}
}
})