We can get the url to invoke from UI as follows:
- Login to https://portal.azure.com/
- Click on App Services from left sidebar or the main page
- Click on our app name
- In the App's page click on the function name HttpTrigger-Java
- Click on Get function URL. This will return the public URL for your function.
We can run the public URL from a browser specifying the required path parameter (similar to what we did with localhost).