How to fix error indexing method ? cannot bind parameter for running this azure function in VS code

Jay Patel 0 Reputation points
2024-03-11T01:23:13.75+00:00

Hello everyone,

I am trying to run this azure function, in which I have created API to update a counter of a website every time someone refresh it, when I do "func host start" it throws the below error.

FYI: I am fairly new to the developing/coding environment would really appreciate any feedbacks on this. I am trying to built a serverless resume hosted on cosmosDB and using azure functions API to update the visitor counter on it. I can also provide other screenshots if required.

User's image

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,678 questions
{count} votes