Advertisement
goldfiction

mcterm_curl

Aug 25th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. function curl(url)
  2. local req = http.get(url)
  3. return req.readAll()
  4. end
  5.  
  6. local args = { ... }
  7. local url = args[1]
  8. print(curl(url))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement