skip to Main Content

How do we deploy azure function in VS Code?

I followed the deployment guide precisely here https://learn.microsoft.com/en-us/azure/azure-functions/functions-develop-vs-code?tabs=nodejs#republish-project-files However, After deploying, In Azure portal, there is no functions in function app. And in the output log in VS code: - /Users/myapp/code/test-azure-functions/node_modules/rimraf/dist/cjs/src/bin.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15) at Function.Module._load (internal/modules/cjs/loader.js:730:27) at Module.require (internal/modules/cjs/loader.js:957:19)…

VIEW QUESTION

JSON is getting serialized with WriteAsJsonAsync

I am calling an API with : content = await request.Content.ReadAsStringAsync(); var response = req.CreateResponse(request.StatusCode); await response.WriteAsJsonAsync(content, request.StatusCode); return response; and it seems to be ok and working but the JSON is coming out like this: "{"Policy_reference":"P12300025"}" full code: var…

VIEW QUESTION
Back To Top
Search