$.post( "http://www.myweb.ru/api/rest/product?id=1", function() {
console.log('a');
})
XMLHttpRequest cannot load http://www.myweb.ru/api/rest/product?id=1. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access.