I have created an httpTrigger azure function and trying to access it from my azure web app. Both the web app and azure function belongs to the same resource group.
While calling the published azure function from post man and localhost it is working perfectly without any issues. After publishing the web app to azure, I am getting an error
'No such host is known'
. The function trigger is not at all visible in Monitor tab
Web app call
HttpClient client = new HttpClient();
var content = new StringContent(JsonConvert.SerializeObject(functionRequest), Encoding.UTF8, "application/json");
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", authToken);
var status = client.PostAsync(url, content).Result;
Azure function app
public async Task<HttpResponseMessage> HttpStart(
[HttpTrigger(AuthorizationLevel.Anonymous, "post")] HttpRequestMessage req,
[DurableClient] IDurableClient starter,
ILogger log, ClaimsPrincipal principal)
{
}
Any help will be highly appreciated.

