I was trying to enable http on a specific api controller in a .net core 2.1 web application. I have tried to disable https in startup.cs using the following code.
<