#jr

1 messages Β· Page 1 of 1 (latest)

tawdry laurelBOT
frozen smelt
#

Hi, taking a look here

drowsy valve
frozen smelt
frozen smelt
#

What is the request id?

drowsy valve
#

I don’t know what do you mean

frozen smelt
drowsy valve
#

This is the answer I get

frozen smelt
#

Can you share this req_ with. me from the screenshot please?

frozen smelt
#

yes, can you copy and paste the req_ here?

drowsy valve
#

req_KdLfXX75VRQ6PP

frozen smelt
#

From looking at this request, it appears that you're trying to send a file with a filename that ended in .jpg or .jpeg but when we looked at the data inside the file it didn't appear to be JPEG image data. Where is the data in the buffer from on your code?

drowsy valve
#

This is the data from the image

frozen smelt
#

Where is data: <Buffer> coming from?

drowsy valve
#

The problem is that I have already tried several images and they all give me the same problem.

frozen smelt
#

I think that is where the issue is, when you load the image to postman, it might be be affecting the file type.

#

Can you try it without using Postman to rule this out?

drowsy valve
#

How can I do it without trying postman ?

frozen smelt
drowsy valve
#

OMG!! It worked! πŸŽ‰πŸŽ‰

#

My code look like this now

#

And this is the response

#

But, I have a question

drowsy valve
frozen smelt
#

It should not, as long as the file typeis not being altered in any way, that should work.

drowsy valve
frozen smelt
#

Yes, you'd want to test this and make sure that the file type is what you expect.

drowsy valve
#

Okok, thank you πŸ™πŸ»