Debugging Requests to the Data Collection Server

How to test and debug requests to the Webtrends server.

The API supports the dcsverbose parameter as the primary method of validating and debugging your requests to the data collection server. When you set dcsverbose to true, the server returns detailed information about errors and log entry content. Before you put your code into production and begin collecting data, you should run all requests with dcsverbose enabled. Because dcsverbose returns a complete account of all the data logged as a result of each request, debugging with dcsverbose ensures that your posts include the intended data. For failed requests, using dcsverbose ensures that you have the most detailed information about each error.