javascript - How shall I convert applicationoctet-stream into image to be displayed in base64 or any jpeg format? - Stack Overfl

I am trying to send a image from social media to trigger to web hook and thus to receive in my applicat

I am trying to send a image from social media to trigger to web hook and thus to receive in my application. But here web hook is responding in a application/octet stream. But in order to display / read the image, I need it to be in base64 or any jpeg format. I tried multiple stuffs but still no success. Can anyone help me out in this ? response received is similar to this

�����JFIF�����������


""$$6*&&*6>424>LDDL_Z_||�


""$$6*&&*6>424>LDDL_Z_||������"����/���������������������������������P����
C �"�1I����Y�Y�Y�MS�B>�B�t%�x�1Dۻ83L�?R�sh���s���qlslU��fR�e �1��e�mh���
�10
�`�����10�����Pd%���,��%��0@�4���
��&��x��8����&5cF�7.����o��Ce!x�WN�cJ��l�:����N�Ϻ�ނ��H<�坦+Y�)=l��cY¦��������,mG �Z�I��`Lb`�d���&10�0���0����C����5��!��0@`���!��x�jX�#���H�e4��Q6a�A��q�/*�5P����j��̝4�B�+e�ˈt

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744326155a4568657.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信