Answer the question
In order to leave comments, you need to log in
How to make the simplest version of JSONP in JS?
Hello, how to make a simple Data request to an API on an external domain.
If there is an option to request JSONP
Answer the question
In order to leave comments, you need to log in
$.ajax({
url: "your/api/url",
dataType: "jsonp",
success: function(response) {
console.log(response); // server response
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question