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')
Raw function spec json
{
  "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,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlHTTPRequest",
  "private": false,
  "takesSelf": false,
  "name": "HTTPRequest",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "uuid"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "URL",
          "desc": "A valid HTTP/HTTPS URL.",
          "type": [
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Parameters",
          "desc": "Configuration parameters, specified as HTTP_* flag-value pairs.",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Body",
          "desc": "Contents of the request.",
          "type": [
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll