Node JS AWS S3 file upload. How to get public URL response

后端 未结 1 1852
情歌与酒
情歌与酒 2021-01-31 03:55

I\'m uploading a file to Amazon S3 using the Node SDK.

The file uploads are working fine, but I want to get the public url of the file to send back to the client.

<
相关标签:
1条回答
  • 2021-01-31 04:22

    Use upload instead of putObject. It will return public url in Location key

    0 讨论(0)
提交回复
热议问题