title: Node.js: xlsx with axios - how to store data as XML?
body: <p>When i try to make a get request with Axios on a .xslx file, i get some special characters (maybe it's binary? I don't know) on my console.</p>
  
  <p><strong>it looks like this:</strong> </p>
  
  <pre><code>�V�?x�(~�O!�OXȽGG��x��ӫ��+j��&amp;����Z�֗_��
                                         �v�z��˦�5b?i3�E�k�f{���2�⠌&gt;�%���W
  
                                                                          D�DNb���)�B0�d����j�n����m-E_&gt;�*w�@&lt;�=�=Ld=F�-�ɉ`�Ⱦ�y:��]�qÃra:�N�,Τ�f�Xk��`�/RW�-��mI��Ȋ!ɠ����wI���fR!���C��@l�6��/���
                                                 Œ�鐾���R���+C%P�54T`Q���݉�O}׬6����d�ת���k��!gU-d!��x�yyi�HN�c�� �׷"�'ы$%�0a�?w4�P���Ⱥ�eA��NJS|j�·kJl;�8����]��t�W3��qz��O�
                                                         ߔ!xl�+�Q�z���Qi��4=1\]�;��gT^���Zg�^��U��!|n1�qc��suX11�Uuj��ThO:7&gt;0���!����.
                     �&lt;���[i�*��l���
                                    J%.�&gt;�ٹZ��=���.l�`|jv.��geb���ecq���&gt;C�*�
  �3N�?�                                                                    �&amp;����r��t���2�إ�
        2C�V�M�R�R�&lt;[zRO�0߬����f�  �����w�(�����z���{�8�P�����Ϧ�V�qn�vqK
                                                                       '1���i��f)k��D*QmQ�B�Z��ػ�&amp;����O�����3����&amp;�OdsEa�FP��:e_⺽��k��x��'�(�_��&lt;���{��¬���8�������%OYu˃�&lt;��҆���Z�_��l�y�F�:�:]�|��Qb�]d&gt;��+ϴ�Z10O��*ݐ'�}���3g�R.��yth�˘��d��Tܼ)�!�U�ӀQ[���KsX�#)�O+��zĭZ���9l�k�M��h�Xݯ�=���$��C���)�#w]�J�r�������;5
  ��Gt������������P5¯߳{�Y�[����$�.��^N����ܰ~�̲�]�b��o���v�xhs�ɼN��v��h����1}��P'���Ez&gt;ᣍiԯ�fq�����ޗ�r7���uB�n�����d�=�vTUs�{�%XB�����M�i��{�\J���+���F�JH
                                    �1�&lt;ב0[�ټ�{��_��b�t��H�i�E�ols���%I���k���d1�&gt;
                                                                                  ��-xdn;�1S�cl������]m0
                                                                                                        ���       �޾�!�v/�e�:갮����x��3�h�A
                          �B�U$rW��-)��Z�C�K�}l5O����C�7E׼��G�]e猆�߲Hv��_t-�g�)
                                                                              ���o�?��G�J,Z�7�o�ٗ�qN 
                                                                                                    ��v��&amp;eb��B��KT���&amp;���^��K�&lt;{��֦�xмW�.4��
  &lt;��&lt;" �o��Pl�,N`Mn]�?d[rv��n&amp;;Y&gt;�5p��Y Y���Jr�*M�$����E�R���M���?��7wby��       � p��   � � �/��P!S���� xl/calcChain.xmlt�݊�0��}�0�kڪ��4텬O�&gt;@HǶ���ѷw`Q�5��㜜�i��5�!N�I(�0t�����[`1)�+�J�`���X4Z��5�(aLi��&lt;���K?�#r���D�0�8T}�5�*���IB���P�}�D���R�e����U�s�n�2W��E�\���?s~?b{��P!�����docProps/core.xml �(�|�]o� ��'�? ��
                                                                                          p&gt;� Ǒ�)��*U��V�#�&amp;a3`[�?�&gt;hg��(F`�S�n�[��
  �BV��YX���&gt;~(e˥�p�]
                     &gt;(�l�]�]�-'$�FIa�q�1}�-i��)�@rJg�@JDA:`֞�x@*yF��|��$Ѐ#F^��    ��˅��xhS�!�%[���~       �,���������3�|�����i�m%W��\z����n4��4#xtޮ�AW��SI.tݦ�.ͿѠn�h@��B�j�������WB�{m���)+2F3:���s&gt;�/��;�R�~�c���T��9]�Ʒ���x�MȢf9�Nx�+������H����8�\O���������PK!`�z��
                                     [Content_Types].xmlPK!�U0#�L
                                                                 �_rels/.relsPK!�i�W
  </code></pre>
  
  <p>I have tried some different responseType settings, but it gives me the same output. I have also tried to change the responseEncoding, but still no change in the output. </p>
  
  <p>This is my axios call - all plain and simple. As i said, i have tried with responseType settings and responseEncoding... (the URL is private thats why it just says link.xlsx). </p>
  
  <pre><code>app.get("/pep", async (req, res) =&gt; {
    try {
      const pepList = await axios({
        url:
          "link.xlsx?la=da"
      });
      console.log(pepList.data);
  </code></pre>
  
  <p>Do you know how to get some data from this that i can use? I need to be able to get the xlsx data to XML data? </p>
  
  <p>Thanks </p>