Running the example

Instructions:

Enter the preferred amount and press Execute.

Enter Amount:

Response:

Additional Information

You can also consume this service by directly calling the HTTP endpoint:

  1. Go to the following URI in your browser to send a loan request (there are some default request values built-in): http://localhost:11081/
  2. You should get a response with the name of the bank providing the best deal and its interest rate. There are some default request values built-in for this demo.
  3. Now, modify the loan amount requested, and see different banks responding based on the amount: http://localhost:11081/?amount=100
  4. Try different amounts (100, 10000, 20000). Also try invalid numbers to see the error handling in action

Complete documentation for this example can be found here.