I would like to send a file saved on a local drive as ~/Users/User/Images/photo.jpg
I would like to send http request to the endpoint handle that is defined below. With the http request I would like to send photo.jpg image as a file attachment. What would be a shortest way to do it in Nodejs?
AWS API Gateway Lambda endpoint:
exports.handler = async function(httpRequest) {
console.info(httpRequest);
return 'Hello world'
}