Welcome to the GangstaTranslator API! This simple and easy-to-use RESTful API allows you to input text and receive a gangster-styled version of it in JSON format. Get ready to express yourself in a whole new way!
POST /translate
Translate text to gangster speak.
Field | Type | Description |
---|---|---|
text | string | The input text. |
curl -X POST -H "Content-Type: application/json" -d '{"text": "Hello, how are you?"}' http://your-api-domain.com/translate
The API returns a JSON object containing the translated text.
Field | Type | Description |
---|---|---|
translated | string | The translated gangster text. |
{
"translated": "Yo, wassup homie? How ya doin'?"
}
To start using the GangstaTranslator API, simply send a POST request to the /translate
endpoint with your text as input. The API will then return the translated text in a JSON object. Thatโs all there is to it! So, go ahead and get your gangsta on!