/soap/.services/date.lua
1 2 -- Copied from http://barracudaserver.com/ba/doc/en/lua/soap.html 3 4 soap_services = { 5 Info = { 6 Date = { 7 output = {name = "return", type = "date"}, 8 call = function() return os.date("!%Y-%m-%d") end, 9 }, 10 } 11 }