KnotMeDaddy

test

Jan 26th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local headers = {
  2. ["Content-Type"] = "application/json"
  3. }
  4.  
  5. local request, err = http.post("https://osmarks.tk/comments/new?uri=/", '{"author": "gay","email": null,"parent": null,"text":"gay","title": null,"website": null}', headers)
  6. if not request then error(err) end
  7. -- Print the contents
  8. print(request.readAll())
  9. request.close() -- Don't forget to close!
Advertisement
Add Comment
Please, Sign In to add comment