HttpPost (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
No edit summary
>Anaminus
No edit summary
(No difference)

Revision as of 02:45, 1 January 2011

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
HttpPost( string url, string data, bool synchronous = false )
Returns string response
Description: Sends data over a URI via HTML post method.
Member of: DataModel


Example

Template:CodeExample -- Correct security context will allow you to post variables to an HTML document.

game:HttpPost("http://somesite/", "ThisIsTheDataThatIsPOSTed"); --> However, in Roblox, only external code can do this type of data POSTing, so you will get an error saying "s HttpPost"