JSONP format

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)?

1 Like

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");

And it printed in console: