We are trying to configure the the CORS feature for an service endpoint. Is there a full example somewhere on how to configure and test such a configuration, e.g., for a GET request for JSON with a preceding preflight OPTIONS request and the detailed configuration necessary on Dell Boomi?
I try to send an OPTIONS request from SoapUI on the machine where the Boomi Atom is running.
If I send the request without any special HTTP headers I get the following response:
HTTP/1.1 200 OK
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS
However, if I add an Origin Header, as in the example below, I get a 403 Forbidden.
OPTIONS https://xxx.xxx.xxx.xxxt/ws/rest/services/ping HTTP/1.1
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
In the Shared Web Server Configuration I added the Domain with *.domain.org and enabled HTTP as well as HTTPS.
Thanks for any input!