curl --request GET \
--url https://api.example.com/v1/random/text \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Generate random text using Faker.
curl --request GET \
--url https://api.example.com/v1/random/text \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Type: word, words, sentence, sentences, paragraph, paragraphs, text
Number of items (words, sentences, or paragraphs)
1 <= x <= 20Locale for text generation
Successful Response