Docsv1String

String

camelcase

Converts text to camelcase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/camelcase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "helloWorld"
  }
}

capitalize

Converts text to capitalize equivalent.

Request
URL:

https://api.convert.com.de/v1/string/capitalize

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "Hello World"
  }
}

startcase

Converts text to startcase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/startcase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "Hello world"
  }
}

constantcase

Converts text to constantcase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/constantcase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "HELLO_WORLD"
  }
}

kebabcase

Converts text to kebabcase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/kebabcase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "hello-world"
  }
}

lowercase

Converts text to lowercase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/lowercase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "hello world"
  }
}

pascalcase

Converts text to pascalcase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/pascalcase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "HelloWorld"
  }
}

snakecase

Converts text to snakecase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/snakecase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "hello_world"
  }
}

uncapitalize

Converts text to uncapitalize equivalent.

Request
URL:

https://api.convert.com.de/v1/string/uncapitalize

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "hello world"
  }
}

uppercase

Converts text to uppercase equivalent.

Request
URL:

https://api.convert.com.de/v1/string/uppercase

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world",
    "c_value": "HELLO WORLD"
  }
}

ltrim

Removes leading whitespace from a string.

Request
URL:

https://api.convert.com.de/v1/string/ltrim

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "   hello world"
}

Response

{
  "status_code": 200,
  "data": {
    "text": "   hello world",
    "c_value": "hello world"
  }
}

rtrim

Removes trailing whitespace from a string.

Request
URL:

https://api.convert.com.de/v1/string/rtrim

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "hello world   "
}

Response

{
  "status_code": 200,
  "data": {
    "text": "hello world   ",
    "c_value": "hello world"
  }
}

trim

Removes both leading and trailing whitespace from a string.

Request
URL:

https://api.convert.com.de/v1/string/trim

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "   hello world   "
}

Response

{
  "status_code": 200,
  "data": {
    "text": "   hello world   ",
    "c_value": "hello world"
  }
}

dtrim

Removes leading and trailing whitespace, and replaces multiple spaces with a single space.

Request
URL:

https://api.convert.com.de/v1/string/dtrim

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "   hello   world   "
}

Response

{
  "status_code": 200,
  "data": {
    "text": "   hello   world   ",
    "c_value": "hello world"
  }
}

wtrim

Removes leading and trailing whitespace, and removes all spaces.

Request
URL:

https://api.convert.com.de/v1/string/wtrim

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "   hello   world   "
}

Response

{
  "status_code": 200,
  "data": {
    "text": "   hello   world   ",
    "c_value": "hello world"
  }
}