-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Be able to send to OctoPrint via HTTP from Onshape #40
Comments
Sorry about that. In order to run inside Onshape, grid.space must be entirely https. And https sites can't access non-secure content. You can run Kiri:moto locally on the same host that runs your octo-print server. |
Is there some other way to send a HTTP request from JavaScript? I mean, it's just a simple POST request... |
The integration does use a simple http post using javascript. It's a standard browser security restriction to disallow https -> http. |
I see. Thanks for your explanation. |
Do you think it could be made work with something like Chrome's |
Another option might be to open a HTTP popup window, and send the CGODE from there. |
That won't work without sending the entire gcode server-side then bouncing it back to the new window. Doable, but not elegant, easy, or contained. Kiri does not send any data to the server at present, so that would be a huge departure. |
closing as not feasible unless octoprint implements https with real certs |
My OctoPrint-compatible host software currently runs only HTTP and I seem to be unable to send GCODE there:
Please allow sending to HTTP hosts from within Onshape.
The text was updated successfully, but these errors were encountered: