Duet Web Api - connection
-
hello all together,
I tried to connect my printer via duet web api to develope some python based functions, but I got errors.
may somebody has an idea what I did wrong.duet 3 6hc + sbc
.
richard -
@IndeX4D I suspect you're using a library that is designed for Duets in standalone mode (which uses
rr_
requests) and not for DSF (which provides different REST HTTP endpoints). DSF 3.4 does not emulate those rr_ endpoints, so you need to upgrade to v3.5-b4 first. I am not familiar with the library you're using so I cannot say much more about that.There is an OpenAPI definition available for SBC mode which lets you generate an own HTTP client library, see https://github.com/Duet3D/DuetSoftwareFramework/blob/master/OpenAPI.yaml
-
@chrishamm
ok thanks for your answer.
I just startefd in this topic and a friend is the python guy.
I need some time to understand your answer.I did not say, that I use 3.5beta 4... is that a problem?