Skip to content

KevinZMa/random-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-number

Random API deployed on Vercel. (starter project to discover how Vercel works)

API

GET https://rand-num.vercel.app/

Returns a random number from min to max (inclusive).

Query Parameters

  • min
    • Type: number
    • Default: 1
  • max
    • Type: number
    • Default: 1000

Response

200

JSON response with this schema:

{
  "status": 200,
  "number": 123
}

500

An internal error has occured.

About

Random number generator API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published