No description
Find a file
2022-03-13 20:20:48 -04:00
Dockerfile First Commit 2022-03-13 20:20:48 -04:00
go.mod First Commit 2022-03-13 20:20:48 -04:00
go.sum First Commit 2022-03-13 20:20:48 -04:00
main.go First Commit 2022-03-13 20:20:48 -04:00
README.md First Commit 2022-03-13 20:20:48 -04:00

Factorial RESTful API

Takes a POST Request that takes json with the following structure: {"a":#,"b":#} (where # is an int) and returns a json string containing the factorial of a and b in the same structure. When a negative number or other incorrect input is given, the API returns an error.