iolufemi/Express-REST-API-Generator

how to implement api with upload image?

mfachmirizal opened this issue · 1 comments

hei, is there a way how to create post api with image upload?

example data to post:
{
name: "abc",
profile_pic: <this_is_image>,
...
}

thanks..

I will recommend implementing an s3 bucket for this. You can make an endpoint that will accept multipart image data and then upload it to s3.