Answer the question
In order to leave comments, you need to log in
Cross domain request with JS. How to implement without a server?
Guys, such a strange request from the customer: he wants to request data from yelp, using only the client part. Claims that someone has done this to him before, without even connecting any server scripts.
There was a question: is it possible to get access, say, to some JSON file on yelp with information about the company, if CORS is disabled? The client is a little bang-bang. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Yelp поддерживает JSONP. Можете сами скрипт вставлять с указанием callback, как написано тут.
Можете использовать jQuery, там работа с JSONP также есть. Тут описан синтаксис вызова.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question