Unexpected end of JSON input

I try to show mediawiki API inside Snap! but get a message 'Unexpected end of JSON input"

The request is:

The answer:
{"batchcomplete":"","query":{"pages":{"736":{"pageid":736,"ns":0,"title":"Albert Einstein","contentmodel":"wikitext","pagelanguage":"en","pagelanguagehtmlcode":"en","pagelanguagedir":"ltr","touched":"2023-09-11T08:49:29Z","lastrevid":1174741664,"length":234555}}}}

It worked for me

It works if you put the plain text to Split() But if you give Spit URL() it return error

It's a CORS issue. Getting access to the data from other websites is no longer possible without the explicit permission of that site. There were plenty of threads about the CORS proxy.

There is also Manual:CORS - MediaWiki
It requires specifying additional headers "origin", "mode" with the "Web Services Access" library.

EDIT. "origin=*" should work as well

but still "missing" status ;(