You can let the server present data via a script tag (of course you can also fetch from an API): ...