Dataczar
Browse helpers

Convert arbitrary text into a URL-safe slug.

Takes input text and produces a lowercase (optional) slug using the requested separator. Designed as a GET-first helper with universal dryrun support. Drop this helper wherever you want to convert arbitrary text into a URL-safe slug with a single HTTP call. Send the documented inputs and the API streams back polished results you can hand directly to your users.

GETPOST/text/slugify

Parameters

Query Parameters

NameTypeDescription
textstring · requiredThe text to convert into a slug.
lowerbooleanForce lowercase output when true.
separatorstringReplacement string for whitespace and punctuation (1-3 characters).
dryrunbooleanIf present and not explicitly false/0, no mutations occur (still returns preview data).

All helper calls accept your Dataczar key via the ak query parameter. Need one? Create or copy a key on Dataczar Connect and drop it into each request.

Responses

Status 200

Slug generated successfully.

{
  "ok": true,
  "data": {
    "slug": "dataczar-api-platform",
    "original_length": 24
  },
  "meta": {
    "service": "text/slugify",
    "dryrun": false,
    "request_id": "req_123"
  }
}

Examples

Request

"GET /text/slugify?text=Hello%20World&ak=demo"

Response

{
  "ok": true,
  "data": {
    "slug": "hello-world",
    "original_length": 11
  },
  "meta": {
    "dryrun": false
  }
}

Request

"POST /text/slugify {\"text\":\"FAST Mode\",\"separator\":\"_\",\"lower\":false}"

Response

{
  "ok": true,
  "data": {
    "slug": "FAST_Mode",
    "original_length": 8
  },
  "meta": {
    "dryrun": false
  }
}

Test Contracts

[
  {
    "name": "basic_slug",
    "method": "GET",
    "params": {
      "text": "Dataczar API"
    },
    "expect": {
      "slug": "dataczar-api"
    }
  },
  {
    "name": "custom_separator",
    "method": "POST",
    "body": {
      "text": "Hello Again",
      "separator": "_",
      "lower": false
    },
    "expect": {
      "slug": "Hello_Again"
    }
  }
]

File uploads (multipart form-data)

Attach PDFs or images as multipart fields. We'll fill in the field names for you.

Files
file

Query parameters

Equivalent curl

Grab your Dataczar API key

Every helper runs with the same simple API key. Sign in (or create a free Dataczar account) at Dataczar Connect to issue keys in seconds, then drop the key into any `ak=` parameter and start shipping.

Tip: reuse the same key across these helpers, or rotate keys per project from the Connect dashboard.