Verify Process to upload gcode model to server

I am planning to use this api call

http://localhost:3344/printer/model/<slug>?a=upload&sess=<session key>&name=<file name>&group=<groupname>

to send sliced gcode directly to the printer from my slicer.  I'm guessing I need to open a WebSocket as well in order to get the SessionId and I'll need to keep that socket open during the entire process.  One question I had was can I use the REST Api to initiate that socket like other WS commands or do I have to specifically open a valid WebSocket connection.  I'm assuming yes.


Thanks for a killer product, looking forward to getting my code working to upload from my slicer.

Comments

Sign In or Register to comment.