View method type (GET / POST) in web service calls
Site24x7 APM Insight has the ability to track the ASP.NET web service calls like ASMX, WCF, or Web API frameworks.
The service calls will be displayed along with its method type like GET, POST, PUT, DELETE, etc. It provides the clarity to view the performance of each method on CRUD (Create, Retrieve, Update and Delete) operations in a MVC Web API.
For example consider the CRUD operations below in a ASP .NET Web API.
Action | HTTP Method | Relative URI |
Get a list of all products | GET | /api/products |
Get a product by ID | GET | /api/products?id=1234 |
Get a product by category | GET | /api/products?category=mycategory |
Create a new product | POST | /api/products |
Update a product | PUT | /api/products?id=1234 |
Delete a product | DELETE | /api/products?id=1234 |
The above example shows the Web API CRUD operations performed over the product database. It uses the single API transaction to perform all these operations.
With Site24x7 APM Insight, performance of a particular API transaction can be viewed along with it's corresponding method type.
View method type in request parameters
The same GET method will be used for getting the product based on ID or product category. We can also view those transactions separately by the request parameters displayed under the transaction trace summary.
-
On this page
- View method type in request parameters