Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"bindings": [
{
"authLevel": "anonymous",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": ["options", "get"]
},
{
"type": "http",
"direction": "out",
"name": "res"
},
{
"type": "table",
"name": "inputTable",
"tableName": "metadata",
"connection": "AzureWebJobsStorage",
"direction": "in",
"filter": "(PartitionKey eq '{package}')"
}
]
}
module.exports = async function(context, req) {
context.res = {
body: context.bindings.inputTable
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.