Skip to content

llHTTPResponse

void llHTTPResponse(key HTTPRequestID, integer Status, string Body)

Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request event handler). Status and Body specify the status code and message to respond with.

Parameters
HTTPRequestID (key)
A valid HTTP request key.
Status (integer)
HTTP Status (200, 400, 404, etc.).
Body (string)
Contents of the response.

Add example usage here.

Add additional notes, caveats, or tips here.

  • Related pages can be linked here