Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. GrumpyTacos
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    GrumpyTacos

    @GrumpyTacos

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    GrumpyTacos Unfollow Follow

    Latest posts made by GrumpyTacos

    • RE: Duet Web Control - Make REST Call

      @Danal Awesome! Thank you.

      posted in Duet Web Control
      GrumpyTacosundefined
      GrumpyTacos
    • RE: Duet Web Control - Make REST Call

      Hi Danal,

      Thank you for the reply. Understood and agree on the firmware reaching out as a bad idea. I was looking for DWC (Not RRF) to make a REST API call to an external target. From the description of DWC it seems like it has the REST client capabilities as it's used to interact with RRF, but maybe this is my confusion.

      My goal is to have a Macro that makes a REST POST to the REST-API of a smart PDU. That PDU will switch off the outlet for the printers PowerSupply. In my imagination, this is all DWC related, not RRF.

      posted in Duet Web Control
      GrumpyTacosundefined
      GrumpyTacos
    • Duet Web Control - Make REST Call

      Hi, can DWC make a REST Call to an external server, say a smart PDU? I understand that there is no REST API for DWC itself. But I get a bit confused when I read about DWC using REST to communicate with the RepRap firmware:

      "It is designed to communicate with RepRapFirmware using WebSockets and RESTful HTTP requests."
      Ref: https://github.com/chrishamm/DuetWebControl

      Please help clarify my confusion.

      Ideally, I could define a macro that would make these external REST calls.

      posted in Duet Web Control
      GrumpyTacosundefined
      GrumpyTacos