Hi all, Currently it doesn't seem to be possible to request files from the Vault via JavaScript. This is simple to solve by allowing CORS https://en.wikipedia.org/wiki/Cross-origin_resource_sharing on the server that holds the Vault, but the system admin will have to do that (Kevin?). I can't imagine this would be problematic: it would simply allow anyone building a JavaScript application to obtain any text, XML, and JSON file on the fly. It certainly would be convenient for the Roma replacement I'm working on. Any objections? Raff
I'm not the admin, but if no objections are raised, I can forward the request to Ian Rifkin, our sysadmin. On 11/14/16 4:08 PM, Raffaele Viglianti wrote:
Hi all,
Currently it doesn't seem to be possible to request files from the Vault via JavaScript. This is simple to solve by allowing CORS https://en.wikipedia.org/wiki/Cross-origin_resource_sharing on the server that holds the Vault, but the system admin will have to do that (Kevin?).
I can't imagine this would be problematic: it would simply allow anyone building a JavaScript application to obtain any text, XML, and JSON file on the fly. It certainly would be convenient for the Roma replacement I'm working on.
Any objections?
Raff
Since our main purpose in life is to disseminate this information, no objeciton here. That said, there is the risk that a JavaScript application hides from the end user that older versions of something (like the Guidelines or a schema) is being fetched. But the benefits outweigh that risk, IMHO.
Currently it doesn't seem to be possible to request files from the Vault via JavaScript. This is simple to solve by allowing CORS https://en.wikipedia.org/wiki/Cross-origin_resource_sharing on the server that holds the Vault, but the system admin will have to do that (Kevin?).
I can't imagine this would be problematic: it would simply allow anyone building a JavaScript application to obtain any text, XML, and JSON file on the fly. It certainly would be convenient for the Roma replacement I'm working on.
Any objections?
participants (3)
-
Kevin Hawkins
-
Raffaele Viglianti
-
Syd Bauman