HTTP requests with web control not working as expected



  • Hi!

    I'm trying to setup my raspberry pi to send HTTP requests using the available HTTP requests that are in the duet web control. However, when I try to send gcode to the printer, by sendinghttp://{ip}/rr_gcode?gcode=G28 YX I get {u'buff':248} returned back to me, but the printer does not move. This is after I connect to the printer using rr_connect

    What is going wrong?

    Many thanks in advance.



  • spaces are not allowed in urls.
    try urlencoding the request. i.e replace space with %20



  • @veti Yep that was the reason! Thanks a lot!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.