rng-free
InvokeGenerate single random number (16-bit unsigned) [FREE]
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"min": {
"description": "Minimum value (default: 0)",
"type": "number",
"minimum": 0
},
"max": {
"description": "Maximum value, inclusive (default: 65535)",
"type": "number",
"maximum": 65535
}
},
"additionalProperties": false
}
Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {
"description": "Generated random number.",
"type": "number"
}
},
"required": [
"result"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'http://rng.spinnin.top/entrypoints/rng-free/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"min": 0,
"max": 65535
}
}
'