Why did you have to create an endpoint? Couldn’t you upload it directly to S3?
Giulliano
11

Hi Giuliano, as I mentioned in one of the previous answers, you probably could as this is simply a promise. However, we can also take additional actions like converting the file into a buffer, resizing or cropping an image, or do some other processing, or even accessing other endpoints to store the name of the saved files or to relate that file to a user in our database.

So due to that (and also to keep the client thin) I think it makes sense to have an endpoint. Does it make sense to you?