I'm trying to retrieve all the templates from a page as XML strings so that I can retrieve their parameters and values. For that I'm using the "expandtemplates" action with "generatexml" set to true. It works well for very small articles however not for large ones (above approx. 2000 characters). In this cases, the API fails because the query string is too big (Error ERR_TOO_BIG).
Is there any way around this issue? Or maybe I'm not using the right approach? Any help would be appreciated.
Thanks,
Laurent