saveResponseBody

saveResponseBody

This configuration option is available in Profound.js versions 7.13.0 and later.

Description

Set this option to Boolean true to save the response body of an API request. If the API Statistics Store database has been configured, the response body is also included in the data written to the database.

Media Types Included

For the sake of performance and to control the size of the database, the response body is only included for the following media types:

  • application/xml;

  • application/xml-dtd;

  • application/xml-external-parsed-entity;

  • application/xml-patch+xml;

  • text/xml;

  • text/xml-external-parsed-entity;

  • application/json;

  • application/json-patch+json;

  • application/json-seq;

  • application/jsonpath;

  • All media types that contain the value text/.

Example

saveResponseBody: true

For information on how to modify this setting, see Configuration File.