Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
RajSharmahttps0
7 years agoExplorer | Level 4
I m not able to get of dropbox excel using http request
i want to get data of excel from http request
https://content.dropboxapi.com/2/files/get_preview
i m getting data in html.But in that is not giving proper data which is present ectually present in dropbox excell file
can anyone tell me what is i am doing wrong.
Is there any http request available by that we can get actual data of excell which its present in dropbox.
thnaks
7 Replies
Sort By
- Greg-DB
Dropbox Staff
To get the original file data, you should use the /2/files/download endpoint:
https://www.dropbox.com/developers/documentation/http/documentation#files-download
- RajSharmahttps0Explorer | Level 4
hi greg,
when i'll use
https://content.dropboxapi.com/2/files/download
that request then i m getting excell data in encode or in that language by that we can't able to read it .when i'll use that url to get data of excell file then i m getting this response
PK7�K_rels/.rels���J1��}��{w�Dd���ЛH}����a7�0u}{�Z���I~��7C��f���G�Fo�Z+���{�����kW�#�VJ$cʪ��l� �n�0�\Q�X^:�`���d�d{�m]_�d������h���V�������F�w�^F9��W��-�(F/3�O�DSU�N�l/w�{N(�[���q��T����u<��r�?焮�s9�F����M��h���'h?PKf����;PK7�KdocProps/app.xml��1�0ཿB�kl�R$�R:w��Crj��Ir��M)Խ����{�]��-�#�@ȿI���@���Tw�/V{�v,)`�J&l -���x�n֤>��i�h�<�^�_%�9bf05 �<F�]�GMAj"O��{Oi�^GC�a|�$�u��>a���n$n[8�U��$�[�����NY7�G��U�wPKٚ��=�PK7�Kf����;_rels/.relsPK7�K�Ù��docProps/app.xmlPK7�K��s����docProps/core.xmlPK7�KO��z�%(xl/_rels/workbook.xml.relsPK7�K���p��Bxl/sharedStrings.xmlPK7�K�zz�&#mxl/worksheets/_rels/sheet1.xml.relsPK7�K-� ���pxl/worksheets/sheet1.xmlPK7�K�:��H 9xl/styles.xmlPK7�K�W����Zxl/workbook.xmlPK7�Kٚ��=�1[Content_Types].xmlPK
So can u tell me how i need use that thing. i m not able to undrestandhow i need to use it. Its giving data of csv is fine but for excell its not working.
Can u tell me about this.
- Greg-DB
Dropbox Staff
The Dropbox API is returning the original file data, which is what you're seeing above. Exactly what/how you use that data is up to you.
How to parse or read Excel files is outside what Dropbox API support can help with unfortunately. You may wish to refer to documentation for the Excel file format for information on how to use it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,988 PostsLatest Activity: 12 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!