-
Notifications
You must be signed in to change notification settings - Fork 2
RandBool
Andika Wasisto edited this page May 1, 2021
·
2 revisions
GET /api/randbool
Name | Type | Description |
---|---|---|
length |
integer | The number of booleans to generate. Default: 1 |
curl 'http://192.168.1.100:8080/api/randbool?length=10'
Status: 200 OK
{
"action": "randbool",
"length": 10,
"data": [
false,
false,
true,
false,
false,
false,
false,
false,
true,
true
]
}