use my domain url to call an azure function

EnenDaveyBoy 61 Reputation points
2022-10-27T15:25:44.237+00:00

Hi

I think I am lacking the termanology to find out what I need.

I have a website www.foo.com, and i i have 3 azure functions, i want to call the functions my typing :

www.foo.com/api/bar
www.foo.com/api/car
www.foo.com/api/tar

instead of having to call the the azure url, how do i go about it?

also will this also add things like cookies and headers to still be used?

any info would be appriciated

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,264 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,476 Reputation points
    2022-10-28T05:33:26.61+00:00

    @EnenDaveyBoy Thanks for reaching. Please confirm if my understanding is correct that you want to configure the custom domain on your function app so you can call the function endpoint using your custom domain rather than the azure domain of your function app.

    If it is the above case then you need to configure the existing custom DNS name to your azure function. You can refer to this app service document for more details. This holds valid for function app as well. You can also refer to this document for the configuration.