Get Free Trial

CORS Requirement

Dennis Urech asked on August 18, 2017

I don’t understand the CORS requirement for using the data compressor. My reports call a Servlet on my website that extracts the data from a MongoDB database and returns the data as a stream of CSV records.  If I want to use the Compressor on my server, I’ll still be calling the same servlet, but only the format of the data returned will be changed (ocsv instead of csv), so I am not sure why I need to enable cross domain access. 

1 answer

Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 22, 2017

Hello Denis,
Thank you for your question. Yes, you are right Denis. When both the Compressor Tool and the application are hosting on the same machine there is no need to enable CORS.
Please let us know if you have any additional questions here.

Please login or Register to Submit Answer