odysseyscience / react-s3-uploader

React component that renders an <input type="file"/> and automatically uploads to an S3 bucket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to notify server of image upload?

pmazumder3927 opened this issue · comments

Hi, sorry in advance; I'm pretty new to web development.
I have a nodejs server running, and every time an image is uploaded by the client I would like to notify the server of the image URL so it can store it in a postgresql database. How would I go about doing this?

@pmazumder3927 : You need to make use of onFinish callback and notify server about the file/image upload.