cross-domain

fetch GET method. Request with GET/HEAD method cannot have body

Data from the server can only be processed by a GET request. I can't use Ajax, because there are problems with the policy. le ... d cannot have body. If you write a POST, everything works, but the data in the result = undefined Where did I make a mistake?

Cross-domain Ajax request with pure Javascript (no APIs)

I have two applications in different domains, and I need to perform a Ajax request between them via POST or GET in a cros ... implement this in JavaScript, without making use of any API or framework in a way that works in all browsers (cross-browser)?