You can easily test a web service by making GET requests, using a browser.
Documenting and testing web services using Swagger
Testing GET requests with any browser
Start the web service.
In Chrome, in the address bar, enter the following URL:
http://localhost:5000/api/customers
You should see a JSON document returned, containing all the 91 customers in the Northwind database, as shown in the following screenshot:
In the address bar, enter the following URL:
http://localhost:5000/api/customers/alfki
You should see a JSON document returned containing only the customer named Alfreds Futterkiste, as shown in the following screenshot:
In the address bar, enter the following URL:
http://localhost:5000/api/customers/?country=Germany...