Server URL
http://3.17.60.171
Ajax call in client side
<script>
"use strict";
$(document).ready( function() {
$.ajax({
url: 'http://3.17.60.171/',
success: function(data){
console.log(data);
},
error: function(error){
console.log(error.name +": " +error.message);
}
});
});
</script>
Is there any possibility to get the data without making any changes in the server side? The server side coding is written in python. I am unable to find the server source code.
I am getting this error eventually
Access to XMLHttpRequest at 'http://3.17.60.171/' from origin 'file://' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
3.17.60.171/:1 Failed to load resource: net::ERR_FAILED