L
L
Lite_robot2016-06-10 17:55:42
JavaScript
Lite_robot, 2016-06-10 17:55:42

Why can wikiquote api return 404 when using jsonp?

Greetings, there is a task to get information from wikiquote using api and jsonp, the solution was applied:
pastebin.com/PgtvmHhX
It returns 404, but if you enter https://en.wikiquote.org/w/api.php?action=parse&ti. .. the json I need is displayed in the browser line. To check, in the ajax request I replaced the url with https://en.wikipedia.org/w/api.php?action=parse&ti... ( pastebin.com/EptDz7pd ) it returns status 200 and the requested json. What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UksusoFF, 2016-06-16
@Lite_robot

https://ru.wikipedia.org/wiki/Cross-origin_resource... for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question