Step 2: Test the API

To test the API, proceed as follows.

  • To test the API, click on the [Test] button.

  • In the Query strings section, the Query strings β€œNumber1” and β€œNumber2” display initialized values. To define the operator for addition, enter the value for the and the β€œoperation” as β€œAdd.” Click the [Test API] button.

  • The result of the addition will be visible in the β€œBody.”

  • To test the API in the browser, add the URL in the browser and enter the values in Query strings as per the link below. The result will be displayed in the browser.

Last updated