-
Notifications
You must be signed in to change notification settings - Fork 2
RandInt32
Andika Wasisto edited this page May 1, 2021
·
2 revisions
GET /api/randint32
Name | Type | Description |
---|---|---|
length |
integer | The number of random numbers to generate. Default: 1 |
min |
integer | The minimum random number. Default: -2147483648 |
max |
integer | The maximum random number. Default: 2147483647 |
curl 'http://192.168.1.100:8080/api/randint32?length=10&min=-13&max=42'
Status: 200 OK
{
"action": "randint32",
"min": -13,
"max": 42,
"length": 10,
"data": [
11,
13,
37,
39,
28,
5,
16,
-4,
-7,
26
]
}