HttpGet (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
URI is more general
>Camoy
URI is more general
(No difference)

Revision as of 13:55, 31 December 2010

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
HttpGet( string URI )
Returns string request body
Description: Retrieves HTML of the URI via get variable method.
Member of: DataModel


Example
If using the Command Bar or a CoreScript...
print( game:HttpGet( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpGet
If using a Script or a LocalScript...
print( game:HttpGet( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpGet