Search the Community
Showing results for tags 'llhttprequest'.
-
I have an existing lsl project that's has become too large and I'm trying to offload user storage and a variety of functions to an external server. I'm sure I'm missing something but I cannot figure out what lsl is doing with the body parameter, as my server doesn't seem to be receiving it. string body; body = llJsonSetValue(body, ["toucherKey"], "0000-1111-fake"); llHTTPRequest("https://breakfreesl.com/api/dialog", [HTTP_BODY_MAXLENGTH, 16384, HTTP_METHOD, "POST"], body); The endpoint is perfectly happy poking it with an identical body in Postman, and I've tried a couple other configu
-
I would like to send JSON messaging between two prims that are located in two different regions without having to reach out to an external webserver to do so. I have considered using a prim scripted with llHTTPRequest to contact another by key using XMLRPC scripting, but have read that XMLRPC is old school and replaced with llHTTPRequest. What is the best way to do this using modern LSL techniques?
-
We are continuing to update the reliability and stability of the LSL HTTP functionality in LSL. The latest changes involve validating the MIME type values: The HTTP_MIMETYPE parameter to llHTTPRequest is checked. LSL will validate these for proper format; requests that attempt to send an improperly formatted type will send a debug channel error, not send the request, and return a null request key. If you use the new HTTP_ACCEPT option to llHTTPRequest (which allows you to further restrict the type your script expects), the Content-Type of the response is checked