The prettyprint query parameter causes the XML or JSON returned in response to a GET request to be formatted for readability. For example, with the prettyprint parameter, the returned XML for a list of
<
<name>
<name>
</
Without the prettyprint parameter, the returned XML looks like this:
<?xml version="1.0" encoding="UTF-8"?><
<name>
The prettyprint parameter increases the time it takes to process a request. Therefore, you should use it only for testing purposes and not in production applications.
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.