The response of application/octet-stream type is obtained through ajax. How can it be parsed?

the content of the file is obtained through ajax. The response class type is application/octet-stream,. The content is garbled. Is there any way to parse it at the front end?

Mar.20,2021

application/octet-stream is the default unknown type. It can't be parsed unless you know exactly what type it is.


application/octet-stream data cannot be parsed correctly unless you know exactly what format it is.
for example, it may be passed string data or passed binary data, so you can't tell the difference just by application/octet-stream .
so the use of application/octet-stream data is generally used in development where front and back ends can coordinate.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4c647-4c5b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4c647-4c5b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?