0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-11-14 17:57:57 +01:00

return success response

This commit is contained in:
Simon Voordouw 2017-05-18 15:01:27 +02:00
parent 25aba526b4
commit 02b198d773

View File

@ -193,6 +193,7 @@ function M.fetch_POST(request, response)
local remote = settings.get('gcode_server')
local id = request:get("id")
io.popen("print-fetch.lua " .. socket .. " " .. remote .. " " .. id)
response:setSuccess()
end
--requires: gcode(string) (the gcode to be appended)