HttpPost (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Camoy No edit summary |
||
Line 12: | Line 12: | ||
{{Example| | {{Example| | ||
If using the [[Command Bar]] or a [[CoreScript]]...<pre> | If using the [[Command Bar]] or a [[CoreScript]]...<pre> | ||
print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s | print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpPost</pre> | ||
If using a [[Script]] or a [[LocalScript]]...<pre> | If using a [[Script]] or a [[LocalScript]]...<pre> | ||
print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s | print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpPost | ||
</pre>}} | </pre>}} | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 14:13, 31 December 2010
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
![]() | |
Returns | string request body |
Description: | Sends data over a URI via HTML post method. |
Member of: | DataModel |
Example
If using the Command Bar or a CoreScript...print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpPostIf using a Script or a LocalScript...
print( game:HttpPost( "http://www.roblox.com/User.aspx?ID=4812582" ) ) --> s HttpPost