Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm doing a jquery get in my Sense Extension like this:
var jqxhr = $.get("http://localhost:8080/AmazonMQBridge/jaxrs/echo/message", function() {
alert( "success" );
})
This is returning a 404 (not found) status. I can copy the URL to a browser window and it works fine, so I know the URL is correct and the server is responding with text content.
Any suggestions?
Thanks,
Rob
Never mind, got it figured out. It was actually a 403 status due to cross domain scripting restrictions. Fixed by enabling CORS in my server.
-Rob
Never mind, got it figured out. It was actually a 403 status due to cross domain scripting restrictions. Fixed by enabling CORS in my server.
-Rob