---
title: "Change case of a string"
method: POST
path: "/string/case"
tags: ["String"]
---

# Change case of a string

`POST /string/case`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/string/case`
- Auth: none declared

Transforms the input text to the specified case style.

## Request body

- object
  - `text` string, required
  - `type` 'upper' | 'lower' | 'title' | 'sentence' | 'camel' | 'pascal' | 'snake' | 'kebab' | 'constant' | 'dot' | 'path', required

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
