Below code is working for both with header and without header to print log request & response. Note: Just comment .addHeader() line if are not using header.
Below code is working for both with header and without header to print log request & response. Note: Just comment .addHeader() line if are not using header.