Login Register






Getting Json request to work filter_list
Author
Message
RE: Getting Json request to work #10
(04-09-2018, 08:32 PM)0xAeschylus Wrote: There could be an issue with the same origin policy. The policy is implemented in most or all modern web browsers as a security measure -- basically, if you are on any domain other than the one you're trying to request data from (www.cpalead.com), then it won't let you. In other words, if you are trying to host that script on any website other than cpalead.com, then it won't work. Is that the case?

It won't be the case, I used this API in my site 2 weeks ago: http://quotes.rest/
It worked, but I used fetch() instead of XMLHttpRequest

Reply





Messages In This Thread
Getting Json request to work - by hacxx - 04-09-2018, 02:00 PM
RE: Getting Json request to work - by drxddock - 04-09-2018, 03:20 PM
RE: Getting Json request to work - by Pikami - 04-09-2018, 03:29 PM
RE: Getting Json request to work - by hacxx - 04-09-2018, 04:25 PM
RE: Getting Json request to work - by Pikami - 04-09-2018, 04:58 PM
RE: Getting Json request to work - by hacxx - 04-09-2018, 06:02 PM
RE: Getting Json request to work - by Pikami - 04-09-2018, 06:22 PM
RE: Getting Json request to work - by hacxx - 04-09-2018, 06:45 PM
RE: Getting Json request to work - by drxddock - 04-09-2018, 08:32 PM
RE: Getting Json request to work - by Pikami - 04-09-2018, 08:40 PM
RE: Getting Json request to work - by hacxx - 04-10-2018, 02:56 PM
RE: Getting Json request to work - by Pikami - 04-10-2018, 04:20 PM
RE: Getting Json request to work - by Synthx - 04-10-2018, 06:07 PM
RE: Getting Json request to work - by Pikami - 04-10-2018, 06:18 PM
RE: Getting Json request to work - by Blink - 04-11-2018, 03:37 PM
RE: Getting Json request to work - by Synthx - 04-10-2018, 06:45 PM
RE: Getting Json request to work - by phyrrus9 - 04-11-2018, 12:49 AM
RE: Getting Json request to work - by Pikami - 04-11-2018, 09:52 AM