Static API access - CORS headers

Hi!
I’m developing a (extremely simple) tool to see my game stats (something similar to https://np2stats.dysp.info/), but I’d like to run it in a static HTML (no server-side).
Sadly, the https://np.ironhelmet.com/api doesn’t send the CORS headers, so browsers can’t access the API directly.

I’d like to as @JayKyburz to, if possible, add the CORS headers in the server response for this endpoint.

Try reading these.

1 Like

Thanks @xjhdexter, but that doesn’t address my problem.
Yes, I have read both threads (and many more) and my problem isn’t with the data returned by the API.
My problem is related specifically to the HTTP protocol and how environments (browser, node, PHP, etc) communicate over it.