Why calling API in ASP.NET works only if I have Fiddler open? Why calling API in ASP.NET works only if I have Fiddler open? asp.net asp.net

Why calling API in ASP.NET works only if I have Fiddler open?


Check web.config for any proxy configuration, and also check whether you have configured a system default proxy which .net might use.You can add this to your web.config to disable proxy configuration:

    <system.net>      <!-- set enabled to true to use the system default proxy -->      <defaultProxy enabled="false" />    </system.net>