Operations (sample payloads)

Main operations
Copy

Random hex
Copy

Generates a random Hex.

Sample Input

1
{
2
"hex_length": 16
3
}

Sample Output

1
{
2
"result": "3a7f9b2c5e1d8f4a6b0c2d3e4f5a6b7c"
3
}

Random item
Copy

Get a random item from a list.

Sample Input

1
{
2
"list": [
3
"apple",
4
"banana",
5
"cherry",
6
"date",
7
"elderberry"
8
]
9
}

Sample Output

1
{
2
"result": "cherry"
3
}

Random number
Copy

Generates a random number.

Sample Input

1
{
2
"integer": true,
3
"smallest": 1,
4
"biggest": 100
5
}

Sample Output

1
{
2
"result": 42
3
}

Random property
Copy

Get a random key/value pair from an object.

Sample Input

1
{
2
"object": {
3
"name": "John Doe",
4
"age": 30,
5
"city": "New York",
6
"occupation": "Software Engineer",
7
"hobbies": [
8
"reading",
9
"hiking",
10
"photography"
11
]
12
}
13
}

Sample Output

1
{
2
"key": "occupation",
3
"value": "Software Engineer"
4
}

Random string
Copy

Generates a random string.

Sample Input

1
{
2
"characters_set": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
3
"minimum_length": 8,
4
"maximum_length": 16
5
}

Sample Output

1
{
2
"result": "Xj9Kl2mRtY"
3
}

Random UUID
Copy

Generates a random UUID.

Sample Input

1
{}

Sample Output

1
{
2
"result": "550e8400-e29b-41d4-a716-446655440000"
3
}