Jump to content
Ultimaker Community of 3D Printing Experts
ValM

Call Ultimaker's HTTP API from an HTTPS site

Recommended Posts

Hello,

I'm trying to call the ultimaker's API from an https site (google site) while being on the same network as the printer.

I get the "mixed content" error that stops me from doing so. (you're not supposed call a resource from an HTTPS to a HTTP because it is a security hasard.)

I've not seen much people asking the same question around, so I ask myself, am I dumb and there is an easy workaround, or it's just not possible.

Thank you for your answers !

Share this post


Link to post
Share on other sites

Well apache has proxy features. So if you already had a website where you own the primary web server, and it's apache, you can easily add a few lines into the apache config file such that for example:

https://mywebsite.com/um3/

would proxy translate to your um3 as http requests.

But if you don't already have an apache webserver already being used then this is more complicated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Terms of Use Privacy Policy