Razvii

Http

Jul 9th, 2021
790
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local headers = {
  2.   [ "User-Agent" ] = "A custom user-agent!", -- Overrides the default User-Agent.
  3.   [ "Hi" ] = "Hello" -- A non-standard custom header field.
  4. }
  5.  
  6. http.get( "http://example.com/", headers )
RAW Paste Data