Home#
This is to verify the API is working on the browser.
It is the root of the appEndpointhttp://0.0.0.0:5500
Divide#
Takes in method POST and is used to run the divide operation.Payload
{
"a": "10",
"b": "5"
}
Response
{
"result": "2"
}
Edge Cases#
When performing the divide operation we ensure that the following exeptions are caught:Passing non integer values as inputs
Using zero as an input value
Modified at 2024-07-04 12:37:14