I am writing few Azure Functions script that reads and write from/to an internal database and display relevant information into a webpage.  I noticed extreme slowness or even timeout in the web UI when loading the web page which calls the Azure Funct...
The azure-functions-cli offers a way to kickoff debugging, but these instructions seem to be Visual Studio specific.  I tried using a similar trick to serverless by setting up a run config in WebStorm to point the JavaScript file to:  \node_modules\a...
From my Azure Function (which runs in Node.js, triggered by EventHub message) I would like to make a post request to some external page. Something like:  module.exports = function (context, eventHubMessages) {  var http = require("http");  co...
I want to send emails from an Azure function (Javascript) using SendGrid. I have done the following   created a new AppSettings for SendGrid API Key SendGrid output binding set of Azure Function Following is my Azure Function          module.exports...
I'm attempting to use the Azure storage SDK for node to create a Table in Table Store, if it does not exist.  The following code is valid and returns a 200 response, although there is no response content. However, the table is created as expected...
I am trying azure function (nodejs) with google authentication from a client side javascript app. I have set up CORS for the correct URL(i.e. http://localhost:8080). But I am still getting the following error:     Credentials flag is 'true',...
I am getting an error with this javascript function definition in Azure. I am defining this within an Azure function for use by the exported function.  async function getData() {     var data = await postRequest();     return data; };   Below is the...
I have an azure function setup with this source:  module.exports = function(context, req) {     //this is the entire source, seriously     context.done(null, {favoriteNumber : 3}); };   When I use a tool like postman to visit it I get a nice JSON out...
I'm experimenting with Azure Functions. I'm trying to use a third-party Node module in my function. However, I've been unable to figure out how to import it.   {   "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",   "reque...
I'm writing a cloud function and trying to add support for several providers. Currently for Google Cloud and AWS Lambda this has been simple enough, as both allow me to specify a named export of a given file (index.js in root folder) as the entry...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.