Files
PyPost/lua/plugins/examples/post.lua
rattatwinko 5c170a195e FaF - Ws
What does this mean?
Fast as Fuck WebServer. Now we compress and cache like hell. so its fast as fuck. 1 new requirement which isnt too bad: Pillow, for images!

Clear cache and restart the server!
2025-10-13 18:20:27 +02:00

8 lines
208 B
Lua

add_post_route("/lua/post", function(req)
local data = req.data or {}
log("Data received from " .. tostring(data))
return 200,
{["Content-Type"] = "application/text"},
tostring(data)
end)