Enabling Cross-Origin Requests in Webserver DAT

I am working with a client who is asking to enable CORS when they are doing http requests to the Webserver DAT. I have never heard of this before and unsure how to enable it.
Any ideas?

Hi @Andris,

just reading the articles here:

To send a GET request using CORS, you need to provide an “Origin: URL” header that specifies the source of the request (domain, port, or schema) other than the destination server address and possibly the required HTTP methods and response headers. The Origin header should only contain the protocol and domain name and not include the URL path.

You might just have to add the Origin header to the first input of the WebClient DAT:

Hope this helps
Markus