/generate-random-number

This endpoint allows you to generate a random number between a specified minimum and maximum value. You can easily get a random number by providing these values as query parameters.

Endpoint Information

  • Method: GET
  • Endpoint URL: https://node.nodetrigger.com/api/generate-random-number
  • Content Type: application/json

Example Requests

To generate a random number, you can make the following HTTP request:

GET https://node.nodetrigger.com/api/generate-random-number?min=10&max=100

The above request will generate a random number between 10 and 100.

Notes

  • If you do not provide the min or max query parameters, the default minimum value is 1 and the default maximum value is 999999.
  • Ensure that the min and max values are valid numbers. The endpoint will return an error if the parameters are not valid numbers.
  • This endpoint uses a GET method, make sure your request reflects this method type.

“`