v0.4.1

# /tools/text/case

Converts a string to a specified case.

# Request

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

# Parameters

Name Type Description
text string Required. The string to convert.
to string Required. The case to convert to. Options: lower, upper, title, camel, pascal, snake, kebab

# Response

{
  "input": "hello world",
  "to": "kebab",
  "result": "hello-world"
}

# Fields

Field Type Description
input string The original input string
to string The case converted to
result string The converted string

# Examples

curl "https://api.synz.xyz/tools/text/case?text=Hello World&to=kebab"
curl "https://api.synz.xyz/tools/text/case?text=My Blog Post Title!&to=snake"

# Errors

Status Description
400 Missing text parameter
400 Missing to parameter
400 Invalid to value