GeoGebra Materials API doesn't handle preflight requests
The GeoGebra Materials API doesn't seem to handle preflight requests correctly.
Using a simple request (e.g. by sending a POST request with content type text/plain and stringified json body) does work correctly. Sending a POST request with content type application/json does not work, though, since the preflight OPTIONS request fails with 500.