Dayflt / Backend

Dayfly - Backend repo
0 stars 0 forks source link

How to send .mp4 from frontend to backend #6

Open harloxx opened 2 years ago

harloxx commented 2 years ago

When a user takes a video using a webcam at the front end, it should be transferred to the backend. How can mp4 format data hand it over to backend?

harloxx commented 2 years ago

It is possible in multipart/form-data format. This method is primarily used when the form element transfers files or images to a server. This specifies that all characters are not encoded. It is available by specifying content-type in the header section where the front sends api request.