DEV Community

Cover image for Azure Calling Functions
John Peters
John Peters

Posted on

Azure Calling Functions

Your frontend is able to call an Azure Function using any type of HTTP Request.

Simply ensure that the function name is preceded with the segment /api/ as shown here:

https://xyz.azurewebsites.net/
  api/Function1'
Enter fullscreen mode Exit fullscreen mode

However to get this to work, the Function application's CORS configuration must include the Origin found in the request header.

From there it's functions all the way.

JWP2021 Azure Function CORS

Top comments (0)