v0.4.1

# /tools/text/slug

Converts a string into a URL-safe slug.

# Request

GET https://api.synz.xyz/tools/text/slug

# Parameters

Name Type Description
text string Required. The string to convert.

# Response

{
  "input": "Hello World! This is a Test.",
  "slug": "hello-world-this-is-a-test"
}

# Fields

Field Type Description
input string The original input string
slug string Lowercase, hyphen-separated, special characters removed

# Examples

curl "https://api.synz.xyz/tools/text/slug?text=Hello World"
curl "https://api.synz.xyz/tools/text/slug?text=My Blog Post Title!"

# Errors

Status Description
400 Missing text parameter