Using Postman we are able to get the filling-history-accounts-document. However with the GET call we are able to receive the below data, how to extract actual PDF document out of it. Please help.
%PDF-1.1
%����
1 0 obj
<<
/Type /Catalog
/Pages 3 0 R
endobj
2 0 obj
<<
/CreationDate (D:20170915050336)
/ModDate (D:20170915050336)
/Producer (libtiff / tiff2pdf - 20150621)
/Creator (go-tiff2pdf)
endobj
3 0 obj
<<
/Type /Pages
/Kids [ 4 0 R ]
/Count 1
endobj
4 0 obj
<<
/Type /Page
/Parent 3 0 R
/MediaBox [0.0000 0.0000 595.0000 842.0000]
/Contents 5 0 R
/Resources <<
/XObject <<
/Im1 7 0 R >>
/ProcSet [ /ImageB ]
endobj
5 0 obj
<<
/Length 6 0 R
stream
q 595.0000 0.0000 0.0000 829.5879 0.0000 6.2061 cm /Im1 Do Q
endstream
endobj
6 0 obj
62
endobj
7 0 obj
<<
/Length 8 0 R
/Type /XObject
/Subtype /Image
/Name /Im1
/Width 1674
/Height 2334
/BitsPerComponent 1
/ColorSpace /DeviceGray
/Filter /CCITTFaxDecode /DecodeParms << /K -1 /Columns 1674 /Rows 2334>>
stream
������������-��ZQ����-R��ZGX���k������� %����z@����J�ږ�Ca�(~�ۯ� �*,JZ�1#Z�j��,O�4��0�0�҆��@��֫.�":�ҊN�’X�ZR�N�&�Yki���e��U��,“�]$P�IiS�B+:�Z�����W��A{�T�I��W��ҝ�� ���g"�dhϑ��$��p�H)��ɰ�I�NȪ:�2x�72@S��.0�S�Na�OXw!�BTD���(r�˙p_�rs6��H’�J�BVG�’�PK��BЏ��V��e�PFߔ> �
t-B}���u��xM4�f�BE9)��ڪi���� �T�6���� ���w��7�ޚ�p�������O�V�v��_}AԐ�M�qtjN�l�rv��&�1�=t���/���c�7t�������[_��’K%�Y:ɡ��BM��]a�A5’�Ke�p�o��N�t�� �{� !�H��������w}������HR{]ӿK�]���Qz��"k��w�:M�}����w��_M���}w��������ǯ�����9a��va/��c�[�u�.�]5��Ϻ������R,w���T����Q�����������c�-�� �a
�i�E����S����:���%��_�����-n�q.��������U�’�?�������V���^�q i/����ֱԐ�O^�?�ɾN���o~����ɟ��jC9;}�������ӓ=��M�)8{���Su���u�{e�w���w�NZ����c��8|���]�����o��ݏ�������x�������KI+����������~ =��������L�����{�]�}���Ķh��^�w������}/��u�In���K�V��W�-�o���+⭹�a�a�����v1�v��$a�Ph�AomM������Ew!�C��o����-��տ���!�hTuqQHu��i��������T�i������z��z�z��׆�[�O���
0Bf�DD8a4��ڦ�5�0�k
B-� ����`�a0B�T”“”“”""K��B��������DDDDDDDDD%������������O l�3�1�����a:� ��:e:#�N�㑤N��:�.2C9��B@�8S��0.���! �d2 �
Bi궘A���0N M
S�M���gf)9���� �MV�Pi�����j��k���P��I��i���u ����_���!�u$�?�Gy:��9= ��<�S[�;�8v��O��%�;r}�;��>z������