ll.HTTPRequest

ll.HTTPRequest(URL: string, Parameters: list, Body: string) : uuid

Sends an HTTP request to the specified URL with the Body of the request and Parameters. Returns a key that is a handle identifying the HTTP request made.

Example

ll.HTTPRequest('test', {}, 'test')
{
  "def": "func",
  "desc": "Sends an HTTP request to the specified URL with the Body of the request and Parameters.\nReturns a key that is a handle identifying the HTTP request made.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlHTTPRequest",
  "name": "HTTPRequest",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "uuid"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "URL",
          "desc": "A valid HTTP/HTTPS URL.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Parameters",
          "desc": "Configuration parameters, specified as HTTP_* flag-value pairs.",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Body",
          "desc": "Contents of the request.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll