The API currently supports the following endpoints:
This endpoint reverses a string.
Parameters:
text
(required): The string to be reversed.Example Request:
{
"text": "Hello, World!"
}
Example Response:
{
"result": "!dlroW ,olleH"
}
This endpoint converts a string to uppercase.
Parameters:
text
(required): The string to be converted to uppercase.Example Request:
{
"text": "Hello, World!"
}
Example Response:
{
"result": "HELLO, WORLD!"
}
This endpoint converts a string to lowercase.
Parameters:
text
(required): The string to be converted to lowercase.Example Request:
{
"text": "Hello, World!"
}
Example Response:
{
"result": "hello, world!"
}
This endpoint counts the number of words in a string.
Parameters:
text
(required): The string for which to count words.Example Request:
{
"text": "Hello, World!"
}
Example Response:
{
"result": 2
}
This endpoint counts the number of characters in a string.
Parameters:
text
(required): The string for which to count characters.Example Request:
{
"text": "Hello, World!"
}
Example Response:
{
"result": 13
}
This endpoint counts the number of sentences in a string.
Parameters:
text
(required): The string for which to count sentences.Example Request:
{
"text": "Hello, World! How are you?"
}
Example Response:
{
"result": 2
}
This endpoint generates a simple summary of a string.
Parameters:
text
(required): The string to be summarized.Example Request:
{
"text": "Hello, World! This is an example of a longer text that will be summarized."
}
Example Response:
{
"result": "Hello, World! This is an example of a longer text that will be..."
}