hotspot page allow Access-Control-Allow-Origin - CORS

i have web server, that use get request to hotspot page on the client side, to extract the mac address for the client but I “get Access-Control-Allow-Origin” policy
how I can allow the server to fetch data or use get request on Mikrotik hotspot page
HfuUx.png

Rewrite response on web server and set into Access-Control-Allow-Origin header value with correct base url web server host (masked on your screenshot) or any with * value (not recommended).
Nginx examples, it should be possible to do it on any advanced web server.