If Enable Debugging is enabled on the plugin Configure page then on debug log page the admin user can see a list of requests made to the public API methods for each store that can be filtered within a date time range and also for a store too.


To go to the debug log page, please click on the Debug log menu item under NopAdvance > Plugins > Public API in your nopCommerce admin menu. It will display the debug log page as shown in the image below.


public-api-debug-log


The above screen displays details in the grid as mentioned below:


  • Customer: The nopCommerce customer email address.
  • Store: The nopCommerce store for which this request was made.
  • Path: Request path of the API method.
  • Created on: The date and time of request on which the request was made.


The View button on the grid allows you to view details of a request along with it's response. The debug log detail page is described below with an example image.



The debug log detail page as displayed above have following fields:


  • Customer: The nopCommerce customer email address.
  • Store: The nopCommerce store for which this request was made.
  • Path: Request path of the API method.
  • Method: The HTTP REST Web API method (GET / POST / PUT / DELETE).
  • Status code: The standard HTTP status code.
  • Headers: This is the standard request header. This is always encrypted when Enable debugging is disabled. If Enable debugging is enabled from plugin configuration, the request and response is not encrypted in order to read them.
  • Request body: This is the standard request body which is captured during an API call request. This is always encrypted when Enable debugging is disabled. If Enable debugging is enabled from plugin configuration, the request and response is not encrypted in order to read them.
  • Query string: If standard query string defined in a standard API call if supplied.
  • Response body: This is the standard response body which is returned to an API call request. This is always encrypted when Enable debugging is disabled. If Enable debugging is enabled from plugin configuration, the request and response is not encrypted in order to read them.
  • Response time: The total time taken between a request and creating response in milliseconds.
  • Created on: The date and time of a request on which the request was made.