Generate random string.
POST/generate/string
Generate random string based on type and length.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
- 1: Numbers only (0-9).
- 2: Alphabetical characters (both upper and lower case, A-Z, a-z).
- 3: Lowercase alphabetical characters only (a-z).
- 4: Uppercase alphabetical characters only (A-Z).
- 5: Alphanumeric characters with lowercase letters (a-z, 0-9).
- 6: Alphanumeric characters with uppercase letters (A-Z, 0-9).
- 7: Complex characters including special symbols (e.g., !, @, #, etc.).
- 8: Custom character set, which requires a custom array of characters to be provided.
typestring
Type of randomness. Specifies the character set to use when generating the random string.
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
]
lengthnumberrequired
Type of randomness. Specifies the character set to use when generating the random string. The available types are:
customstring[]
An array of custom characters to use for generating the random string. Required if type is set to 8.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
randomStringstringrequired
{
"randomString": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}