Hey,
I have a question regarding the Ultimaker API on my S5: For a couple of days now, I have been unable to use new credentials for my printer.
I'm using Python with the requests library to do this.
Obtaining new credentials with
requests.post('http://192.168.1.x/api/v1/auth/request', data={'application': 'program', 'user': 'Docker'})
works fine and returns a new id, key pair which I then confirm by hand on the printer. Querying /check/id also works and returns "authorized".
But if I try to verify the id,key pair with
requests.post('http://192.168.1.x/api/v1/auth/verify', auth=requests.auth.HTTPDigestAuth(usr, pwd))
where I have saved the id and key into usr and pwd respectively, it returns
405: Method not allowed
Unfortunately the API documentation does not mention this error code at all, so I am confused as to why this is happening.
Any help with this would be greatly appreciated!