Hey. Is it possible to get a response from the Matcher API in jsonp format?
Or how to get a response from API using javascript (cross-domain AJAX request)?
Hey. Is it possible to get a response from the Matcher API in jsonp format?
Or how to get a response from API using javascript (cross-domain AJAX request)?
I think you can enable and disable cors inside the node config.
Which request ended with an error? Just tried on jsbin.com:
let r = new XMLHttpRequest();
r.addEventListener("load", function () { console.log(this.responseText); });
r.open("GET", "https://matcher.wavesnodes.com/matcher");
r.send();
And it printed in console:
“7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy”