Wikipedia Viewer: Wikipedia API & Cross-Origin Request Issues


#1

I know this is an old thread but if people are still having trouble with this API, I wrote an article about solving this issue using CORS instead of JSONP Wikipedia Viewer: Wikipedia API & Cross-Origin Request Issues :slight_smile:


Wikipedia API not showing
Wikipedia project problem with get data from json
#2

Hi. I moved your post to a different category, so it’s more visible :slight_smile:


#3

Thanks. This article was so helpful. I read many other article and either they didn’t mention the" origin=*" or I am skimmed by it.


#4

Glad you found it helpful! :slight_smile:


#5

This is very helpful. Thanks for sharing :slight_smile: -}


#6

Thank you for this! It was really helpful :smiley:


#7

You’re a lifesaver.

(…Clearly I just need to read the whole thing next time…)


#8

Thanks, I was lost with this challenge, I thought it would be like the weather app, but the I get stuck. Your article was really helpfull.


#9

Please enjoy watching mine and give me more opinions :blush:


#10

its really helpful. Thanks A lot.
By the way does apply to all error like this one?


#11

hello
i hope you will read that but i do everything you wrote
same api and same parameters and this return string to me
so
$.ajax({type:“GET”,
datatype:“Json”,
data:{origin:"*"},
success:function({}):
i use inside function
alert (typeof(json)) and show string not object at all
why that
});


#12

Thanks so much, this helped me so much!


#13

it worked ,thanks :slight_smile:


#14

Hello gcamacho079,

Thanks you so much for your article about the CORS Request Issues you have unblocked me for the Wikipedia Viewer,:smiley: