You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semantically, requesting via GET makes more sense than POST. The latter can be justified if data is persisted. Since it is not the case, GET should be used instead.
Expected Behaviour
The GET method in /mortgage should invoke the calculate function.
The text was updated successfully, but these errors were encountered:
Kindly have a look at this PR.
Help me understand more things that could be added to POST endpoint.
And let me know if I understood the issue correctly.
Motivation
Semantically, requesting via
GET
makes more sense thanPOST
. The latter can be justified if data is persisted. Since it is not the case,GET
should be used instead.Expected Behaviour
The
GET
method in/mortgage
should invoke thecalculate
function.The text was updated successfully, but these errors were encountered: