Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS support #2

Open
guillermomolina opened this issue Jan 3, 2021 · 4 comments
Open

CORS support #2

guillermomolina opened this issue Jan 3, 2021 · 4 comments

Comments

@guillermomolina
Copy link

Hello, does the rest API have CORS support?

@tehe
Copy link

tehe commented Jan 14, 2021

Hello Guillermo,

the REST API current does not (is not configured with) CORS support. Would you please be so kind as to explain your use-case and what level of support would it require? E.g. would Access-Control-Allow-Origin be sufficient (this option is doable rather easily), or would you require the preflight support through the OPTIONS method too (that would be rather more involved)?

Please let me know.

Thanks,
Tomas

PS: I work for Oracle and am the owner of the Solaris Remote Administration Daemon (which is what the REST APIs are built on).

@guillermomolina
Copy link
Author

Hello Tomas, thanks for answering
I thin that basic CORS support is better than no CORS support.
I am developing an Admin WEB GUI. The only way of accessing from a web client (the browser) to a foreign REST endpoint is via CORS. Full CORS support may be needed anyway for other use cases. Right now i am using a masking proxy.

Thanks, Guillermo

@tehe
Copy link

tehe commented Jan 14, 2021

Thanks for getting back to me this quickly. I've filed an RFE to import a rudimentary CORS support directly in the REST API server and will investigate what level of CORS support is feasible to implement in foreseeable future.

Just out of curiosity - what Solaris version are you using?

I'll keep you posted.

Thanks,
Tomas

@guillermomolina
Copy link
Author

Hello Tomas,
We have more than 200 zones, 40% Solaris 10, 60% Solaris 11.4 with various SRUs up to the latest

Thanks, Guillermo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants