Checks the supplied TeX formula for correctness and returns the normalised formula representation as well as information about identifiers. Available types are tex and inline-tex. The response contains the x-resource-location header which can be used to retrieve the render of the checked formula in one of the supported rendering formats. Just append the value of the header to /media/math/{format}/ and perform a GET request against that URL.Stability: stable.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://wikimedia.org/api/rest_v1/media/math/check/' \
--data-urlencode'q='