Hi there,
I am not sure how to upload video using Postman’s Upload File method, since I cannot find appropriate content-type for that.
So far I have only found the audio/mp4 and audio/mpeg , but there is no video/… content-type.
Can one clarify is it possible to upload video (via select file options, and choose from my local drive), and what should one put as content-type (if anything, i have already content-type
multipart/form-data as default header, but I am not sure if I should add one more)?
Thank you for answering @danny-dainton
It isn’t public API…
I basically don’t know should i put some other content-type besides existing “multipart/form-data”.
Since I saw that for the content-type can be chosen many different types, but there is nothing that starts with video/etc. (there are audio/mp4, audio/mpeg,etc.) I assume it should be then used only “multipart/form-data”?
That’s all…
So it’s your own implementation? Or are you following someone else’s tutorial? Can the show the code?
Without knowing more about what the endpoint actually expects to be there, just throwing random Headers at it and seeing what sticks isn’t the best approach.
In the section “Headers” as content-type I already have multipart/form-data… and I am not sure whether some additional header should be added (and which one?), for sending the video?
Nothing that I developed myself…(it will take me time to get to that point:))