Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local socket = require "socket"
- function getCode(id, location)
- local id, protocol, table = socket.request(id, nil, {location = location})
- return table["code"]
- end
- return {
- getCode = getCode
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement