Ir para o conteúdo

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 Resposta
2

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

AWS
ESPECIALISTA
respondido há 3 anos
AWS
ESPECIALISTA
avaliado há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.