Wikipedia Api request fail [Solved]

Wikipedia Api request fail [Solved]
0

#1

Can someone help me with my Wikipedia viewer. I found in the forum some tips but my api still doesn’t work. What i wrong?


#2

It appears you have a working solution now. Did you have any further questions?


#3

I try to delete this post because i solved but i don’t know how. I solve it but i change the request in this: "https://en.wikipedia.org/w/api.php?action=opensearch&search="+searchKeys+"&format=json&callback=?"

from this (that i prefer for the response): “https://en.wikipedia.org/w/api.php?action=query&format=json&list=search&srsearch=” + searchKeys .


#4

No need to delete the post. I am glad you figured it out and posted your solution in case someone else has a similar problem.