{"slug":"sao-joao-do-paraiso","original":"Sao Joao do Paraiso"}
curl --location --request GET 'https://zylalabs.com/api/13150/text+processing+utilities+api/26696/slugify+text' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Text Processing Utilities API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
Practical text processing for content platforms and back offices. Convert titles with accents into clean, web-safe address slugs, measure texts with real statistics, and generate placeholder paragraphs on demand.
Useful for blog and store slugs, word counts and reading-time badges in articles, content-length checks in forms, and seeding demo environments.
The Slugify Text endpoint returns a JSON object containing two key fields: "slug," which is the cleaned, web-safe address slug, and "original," which is the input text provided by the user.
响应数据中的关键字段是“slug”,表示转换后的文本为网页安全的标识符,以及“original”,显示原始输入文本以供参考
The Slugify Text endpoint accepts a single parameter: the input text that needs to be converted into a slug. Users can also specify a custom separator for spaces and punctuation.
The response data is organized in a JSON format with two fields: "slug" for the generated slug and "original" for the input text. This structure allows easy access to both the processed and original text.
Typical use cases include generating SEO-friendly URLs for blog posts, creating clean slugs for product pages in e-commerce, and ensuring consistent formatting for web addresses in content management systems.
Users can utilize the returned data by integrating the "slug" into URLs for web pages, ensuring they are clean and readable. The "original" field helps verify the input text used for slug generation.
The Slugify Text endpoint provides information on the transformed slug and the original text. It focuses on converting any given text into a web-safe format suitable for URLs.
Data accuracy is maintained through Unicode-aware processing, ensuring that accented and non-Latin characters are correctly transliterated into their web-safe equivalents, providing reliable output for diverse text inputs.