Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Rest calls only work when fiddler is running

$
0
0

I apologize if this is not the right place to ask.

I am working on my first asp website.  Using Asp.net core, Angular.  In my javascript, I have a piece of code that looks like this:

var url = "http://www.xyz.com/something/"+orgid;
$http.get(url).then(function (response) { }).catch(function(response) {).finally() {});

The call returns the expected values when fiddler is running, but if it isn't, 

I don't know if there is a problem with my code and fiddler is masking it or if my code is fine, but there is something else I need to do with my dev environment.  

I thought I had enable cors, is this a cors issue?

Thanks


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>