Hello, I’m struggling with creating a collection that would upload an image to a profile,
I have the Api url that uploads the image, I have the image saved in postman folder.
In body - form-data image is attached as Key- file, Value - photo.png
Headers I have copied the request headers from the request through console, what am I missing?
I have 3 different outcomes,
- 400 error, bad request
- 415 error png is not supported, but it is supported by our website.
- socket hangs error - this is when i have an extra header from the request header.
there is also a weird error, in which i’d get that im missing “publicImage” as key for photo? if I change it to publicImage i get taht im missing the old key - file…and so if I add in the body 2 images, one file and one publicImage, id end up with error 415 not supported format…