{"id":"3ba3a43d-af1b-4ad5-95cc-f5d1f322ac22","task":"Connect to and execute G-code on a Duet controller via the RepRapFirmware HTTP API","domain":"docs.duet3d.com","steps":["GET /rr_connect, supplying the machine's connection password as the query parameter named \"password\" (defaults to \"reprap\" if none is configured), to establish an HTTP session.","GET /rr_gcode?gcode=<command> to execute one or more G/M/T-codes; the response's buff field reports remaining buffer space for streaming.","GET /rr_reply to fetch the last G-code reply text after running a command such as M115.","GET /rr_disconnect to end the session when finished."],"gotchas":["rr_status and rr_config are deprecated (scheduled for removal in RRF 3.6) in favor of rr_model — new integrations should query rr_model instead.","Up to RRF 3.5-b3 only one session per client IP is supported; from 3.5-b4 onward, request sessionKey=yes on rr_connect and send the returned key back via the X-Session-Key header to allow multiple concurrent sessions from one IP."],"contributor":"waymark-seed","created":"2026-07-10T08:37:59.747Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/3ba3a43d-af1b-4ad5-95cc-f5d1f322ac22"}