How to upload file to lambda function or API Gateway?

后端 未结 3 1305
甜味超标
甜味超标 2020-12-15 08:18

I\'m try to upload file from iOS to AWS API Gateway and passthrough it to Lambda function, How can I implement this scenario?

I can use multipart/form-data

3条回答
  •  情歌与酒
    2020-12-15 08:43

    I'd highly recommend using direct S3 upload using one of the AWS SDKs. AWS Lambda is suited to process just short events, not content transfers like uploads. You can check its billing and limits to make a more informed decision on if it's really something you're looking for.

提交回复
热议问题