jQuery.getJSON("api/endpoint", ...} results in 404 in Chrome, works in IE
I'm using jQuery.getJSON to interact with a REST endpoint. The endpoint is always relative to the html page from which I'm using jQuery.
jQuery.getJSON("api/endpoint", ...}
In development:
In production:
In the development environment using chrome I receive a 404 - the request according to chrome developer tools is: /api/contactread. Note the / at the beginning.
In the development environment in IE it works as the path is correctly api/contactread.
Chrome version: 21.0.1180.83
IE Version: 10.0.9200.16384
Is this a bug or expected behavior?