This is a sample api based on the prototype by Jesper Joergensen. This has been modified to run on heroku and use it as a calculator rest webservice
To deploy to Heroku, simply click this button:
Once the deployment is done you can access the API using below url
http://[heroku-url].herokuapp.com/calc?firstno=1&secondno=2&operation=add
http://[heroku-url].herokuapp.com/calc?firstno=1&secondno=2&operation=subtract
http://[heroku-url].herokuapp.com/calc?firstno=1&secondno=2&operation=multiply
http://[heroku-url].herokuapp.com/calc?firstno=1&secondno=2&operation=divide