Coin Flip

Flips a virtual coin and returns heads or tails.

GET /random/coinflip

Parameters

No parameters required.

Example

curl "https://api.uwuapps.org/random/coinflip"

Response

{
  "success": true,
  "result": "heads"
}

Response fields

Field
Values

result

heads or tails

Last updated

Was this helpful?