Answer the question
In order to leave comments, you need to log in
How to process jsonp callback in Meteor?
Tell me how to process jsonp callback in Meteor?
I make a request like this
let response = HTTP.call('GET', 'http://www.travelpayouts.com/whereami', {
params: {
locale: 'en',
callback: 'useriata',
ip: '46.53.201.109'
}
});
useriata({"iata":"MSQ","name":"Minsk","country_name":"Belarus"})
Answer the question
In order to leave comments, you need to log in
C Meteor Never worked, but logic suggests something like this:
callback: function(response) {
// Do actions
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question