MediaWiki API Extension JSON

I have developed a MediaWiki extension that gets a (JSON) string from an external service using cURL.

Now I’m looking for a way to retrieve just that string from the MediaWiki system. (This URL will be used for AJAX calls.)

First, I thought that MediaWiki API was the way to do that. However, I can’t seem to be able to output just that string.

What would be the right way to achieve this?


Source: json

Leave a Reply