azurehttpazure-functions

Azure Functions: Force HTTPS redirection


have an azure function and I created couple rest api request via httpClient to external http api.

External resource doesn't have https address so I can use only http. All httpClient request goes to https address.

How can I disable this https redirection in Azure Function application?

I tried to find that but couldn't


Solution

  • Follow below steps to turn off the Https redirection:

    1. Navigate to Function App=>Settings=>Configuration=>General Settings
    2. Set Https only to off as below:

    enter image description here