Accessing via websocket from Python
As described in this post in the Printer specific Forum of my printer i try to login to repetier server via Websocket from my raspberry pi with python.
When i delete all users and pw, it works, but i cannot figure out the right syntax for the login sending
Could someone provide a Python code Example how either the login with apikey ord with login credentials should look like? Am i doing the MD5 calclulation wrong?
Or does something need to be url encoded?
Not to get me wrong, i don't want to connect via ther browser address bar, i want to connect headlas from within a python script.
Help would be very appreciated
Comments