diff --git a/play.lua b/play.lua index f7b75fe..25b378a 100644 --- a/play.lua +++ b/play.lua @@ -186,7 +186,8 @@ for startIdx = 1, totalFrames, BATCH_SIZE do local resp,err = http.post( server_url .. "/api/framepack", textutils.serializeJSON({ urls = urls }), - { ["Content-Type"] = "application/json" } + { ["Content-Type"] = "application/json" }, + true ) @@ -316,7 +317,8 @@ local function cacheAhead() url = server_url .. "/api/framepack?"..batch.urls[1], headers = { ["Content-Type"] = "application/json" }, body = textutils.serializeJSON({ urls = batch.urls } ), - timeout = 3 + timeout = 3, + binary = true } )