Difference between revisions of "LlHTTPRequest"

From Second Life Wiki
Jump to navigation Jump to search
Line 5: Line 5:
|func_sleep=0.0
|func_sleep=0.0
|func_desc=Sends a HTTP request to the specified url with the body of the request and parameters.  
|func_desc=Sends a HTTP request to the specified url with the body of the request and parameters.  
|sort=HttpRequest
|func_footnot=
|func_footnot=
|return_type=key
|return_type=key
Line 20: Line 21:
         llHttpRequest("url", [], "");
         llHttpRequest("url", [], "");
     }
     }
}</
}
</pre>
</pre>
|helpers
|helpers

Revision as of 22:29, 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.

All Issues ~ Search JIRA for related Bugs

Examples

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

See Also

Events

  • http_response

Functions

Deep Notes

Search JIRA for related Issues

Signature

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