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

MAC Vencor API - CORS issue #161

Open
SciLor opened this issue Oct 31, 2024 · 3 comments
Open

MAC Vencor API - CORS issue #161

SciLor opened this issue Oct 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SciLor
Copy link
Contributor

SciLor commented Oct 31, 2024

image

@SciLor
Copy link
Contributor Author

SciLor commented Oct 31, 2024

Possible solution:
Passthrough the requests through the backend.

@henryk86
Copy link
Collaborator

Grml. That’s annoying… that should be allowed by such apis directly if they are available for public use…

@henryk86 henryk86 added the bug Something isn't working label Nov 1, 2024
@henryk86
Copy link
Collaborator

henryk86 commented Nov 15, 2024

@SciLor Same problem with the http://[TonieboxIP]/api/ajax?cmd=box-battery&sub=stats API call. and some other pages...

there should be also such a internal api which checks that - or CFW should be adapted to accept cors requests.

As i only need to check if the page is available (returns a 200 ?) it would be great if there is a API where i can pass a url und it returns the status code of it (like 404 if not found, 200 if ok....) and maybe the page title (not a must)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants