var contentJsonRestStore = new JsonRest({target: myurl});
Trying to implement my rest, but I keep getting a null response from my url.
- I have access to the json content of my url from any browsers.
- I set up my dojo project on a wamp server (so, I set it up my proxy for my dev env: localhost and my url)
Here’s the error code from firefox and chrome respectively.
Firefox (empty response):

Google Chrome (f12):

Looks like you’re getting Origin errors. Keep in mind that you can only send AJAX requests to the current domain (where the script is running), unless the other domain explicitly allows it (by settings
Access-Control-Allowheaders).Did you intend to do a cross domain request?