I ask for help from the community of stack overflow. Basically the long and short of the whole situation will be displayed below:
- on a Vue page I am making a request to a Nodejs server using the code shown below
- that node.js server is connecting to a Linux device and pulling an image off of it
- that node.js server is then returning this image to the aforementioned Vue page
await axiosT({
method: 'post',
url: '{this is removed for security reasons}',
data: {this is removed for security reasons},
headers: {'Content-Type': 'application/x-www-form-urlencoded' },
responseType: 'text',
}).then(function (response) {
console.log(response.data);
}
this executes without error, and I have had this response work in postman with it successfully displaying the retrieved image. upon receiving the image and console logging it. I am met with the jumble of crap shown below which I can only assume is the image in one form or another; however, as right now all attempts I have made to display the image in any way has at worst, not worked with zero error messages, or at best simply caused the to display the missing image icon
������JFIF�����`�`�����<CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 100
���C��������������������������������������������������������������������C������������������������������������������������������������������������������������������������������������������
���������������������}��������!1A��Qa�"q�2����#B���R��$3br�
�����%&'()*456789:CDEFGHIJST ... and so on and so on, etc etc you get the point
I am open to any suggestions, and if you need any further clarification on something, please don't be afraid to ask