Difference between revisions of "Http.request"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=http.request |args=string url |api=HTTP |returns=The response of the server or nil on failure. |addon=ComputerCraft |examples= ===Basic usag...")
 
(oops, wrong page)
Line 1: Line 1:
−
{{lowercase}}
+
 
−
{{Function
+
−
|name=http.request
+
−
|args=[[string]] url
+
−
|api=HTTP
+
−
|returns=The response of the server or nil on failure.
+
−
|addon=ComputerCraft
+
−
|examples=
+
−
===Basic usage===
+
−
{{Example
+
−
|desc=Gets the content of example.com (in HTML)
+
−
|code=local sExample = http.get("http://example.com/")<br />write(sExample)
+
−
|output=The source of example.com
+
−
}}
+
−
}}
+

Revision as of 10:44, 24 June 2012