Skip to content

llHTTPResponse

Function Syntax
void llHTTPResponse(
  1. key HTTPRequestID, // A valid HTTP request key.
  2. integer Status, // HTTP Status (200, 400, 404, etc.).
  3. string Body // Contents of the response.
);

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.