Jump to content
Ultimaker Community of 3D Printing Experts

Call Ultimaker's HTTP API from an HTTPS site


Recommended Posts

Posted · Call Ultimaker's HTTP API from an HTTPS site

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 !

  • Link to post
    Share on other sites

    Posted · Call Ultimaker's HTTP API from an HTTPS site

    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.

  • 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
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...