Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function curl(url)
- local req = http.get(url)
- return req.readAll()
- end
- local args = { ... }
- local url = args[1]
- local resp=curl(url)
- ak = io.open("/wget.out","w")
- ak:write(resp)
- ak:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement