Difference between revisions of "LlHTTPRequest"

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:
|return_text=Unique key identifying the http request made.
|return_text=Unique key identifying the http request made.
|p1_type=string|p1_name=url|p1_desc=A valid Http/Https Url.
|p1_type=string|p1_name=url|p1_desc=A valid Http/Https Url.
|p2_type=list|p2_name|p2_desc=Http request parameters in the format [ parameter1, value1, parameter2, value2, ... parametern, valuen]
|p2_type=list|p2_name|p2_desc=Http request parameters in the format [ parameter1, value1, parameter2, value2, . . . parametern, valuen]
|p3_type=string|p3_name=body|p3_desc=Contents of the request.
|p3_type=string|p3_name=body|p3_desc=Contents of the request.
|constants
|constants

Revision as of 21:30, 30 January 2007

Summary

Function: key llHttpRequest( string url, list , string body );

Sends a HTTP request to the specified url with the body of the request and parameters.
Returns a key Unique key identifying the http request made.

• string url A valid Http/Https Url.
• list Http request parameters in the format [ parameter1, value1, parameter2, value2, . . . parametern, valuen]
• string body Contents of the request.

Caveats

Cannot be used to load textures or images from the internet, for more information see Web Textures.

Examples

default
{
    state_entry()
    {
        llHttpRequest("url", [], "");
    }
}

See Also

Deep Notes

Signature

function key llHttpRequest( string url, list , string body );