I\'m trying to use webUntis\'(docs) API for a school project. For now I\'m just trying to establish any kind of connection to the API.
var result;
const url
It basically means that this API is not configured to be called from another web page. Cross-Origin refers to making an HTTP request from one domain (origin) to another. This API is meant to be used from a server application. If you need to call it from a web page, you'll need to create a simple proxy server that your web page can call which will make the request to webUntis.