Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.22 KB

Is-Odd and Is-Even as a Service (oeaas)

standard-readme compliant GitHub Repo stars GitHub issues

A cloud-based, distributed version of is-even and is-odd.

Install

If you want to deploy OEaaS yourself, use wrangler.

Usage

There are two simple endpoints: https://oeaas.bs2k.me/is-even/:num and https://oeaas.bs2k.me/is-odd/:num.

cURL examples:

# Expected: {"result":true,"err":false}
curl https://oeaas.bs2k.me/is-even/42

# Expected: {"result":true,"err":false}
curl https://oeaas.bs2k.me/is-odd/69


# Expected: {"result":false,"err":false}
curl https://oeaas.bs2k.me/is-even/1

Contributing

PRs accepted. Please use Conventional Commits for Pull Requests.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2022 bs2kbs2k