跳至内容

Sending an image file from lambda

0

I have a image file stored in aws lambda /tmp folder how do I send it back as a REST/HTTP response ?

1 回答
2

You need to base64 encode it and return it in the body of the response. See this doc for an example.

AWS
专家
已回答 3 年前
AWS
专家
已审核 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。