LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Cross-Domain CORS access to webservice Static Files?

So, I'd trying to serve files from a cRIO labview webservice, using the static file server, which is convenient since it can easily host large CSV data log files for remote access.  however, My webapp is at a different machine so I need to enable cross-domain access but cannot find any documentation or reference on a way to do this?

 

I know from here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019QpWSAU&l=en-CA, that you can make your own responses from a GET or otherwise, by adding cross domain headers, but that doesn't help with the static hosted files?  Anyway to do this?

 

If not with the static files, what's limitations are there in just replying to a post with a large multi-megabyte CSV file directly from the GET request.  Seems this may not be very efficient?

 

Any ideas?

Thanks

0 Kudos
Message 1 of 1
(2,002 Views)