[strings.url-encode]

strings.url-encode is a slot in the strings namespace, in Hyperlambda, the language of Magic Cloud. URL encodes the specified string.

  • Value (url-component,text), required: Text to encode
  • Returns: Resolves to the URL-encoded string

Guide: How to use [strings.url-encode]

JSON declaration

This is the complete declaration of strings.url-encode, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "strings.url-encode",
  "description": "URL encodes the specified string",
  "signature": {
    "input": {
      "kind": "url-component,text",
      "description": "Text to encode",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "url-encoded,text",
      "description": "Resolves to the URL-encoded string"
    }
  }
}

← strings.url-decode all strings.* slots