Ideally we'd have something like https://icanhazdadjoke.com/ where there is a front end, and also an API. You know you're making an API call rather than loading the whole page if the client sends the response-type: application/json header.
when accessing the API with axios I was getting a CORS error. There is a plugin that solved the error but it would be nice if the server by itself would have CORS support.