-
Notifications
You must be signed in to change notification settings - Fork 2
RandBytes
Andika Wasisto edited this page May 1, 2021
·
2 revisions
GET /api/randbytes
Name | Type | Description |
---|---|---|
length |
integer | Required. The number of bytes to generate. |
format |
string | Allowed values are base64 and hex . Default: base64
|
curl 'http://192.168.1.100:8080/api/randbytes?length=10'
Status: 200 OK
{
"action": "randbytes",
"length": 10,
"format": "base64",
"data": "FxLbWO6Q1Tvn7g=="
}