http.request
From ComputerCraft Wiki
Revision as of 10:43, 24 June 2012 by Wukl (Talk | contribs) (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...")
| No description provided. | |
| Syntax | http.request(string url) |
| Returns | The response of the server or nil on failure. |
| Part of | ComputerCraft |
| API | HTTP |
Examples
Basic usage
| Gets the content of example.com (in HTML) | |
| Code |
local sExample = http.get("http://example.com/")
|
| Output | The source of example.com |